Change Priority

To get this function chose: Settings Computer ... - Priority of WinScan.

To change the PRIORITY_CLASS or the THREAD_PRIORITY of the WinScan.
Warning !<(b>
Changing this values may affect the stability of the operation system.
Change this values only if you need a very high timing precession (like for fast scan images)
If you set the values for THREAD_PRIORITY to THREAD_PRIORITY_TIME_CRITICAL or for PRIORITY_CLASS to REALTIME_PRIORITY_CLASS you may not be able to stop an image.
Changing this values may not be necessary (and may not have an effect) at Windows 95,98 or ME as you can disable breaks at "Settings", when you are using one of this OS. (See "Settings")
Take some test images (can be made without a telescope) and evaluate the TimeStampFile to see if you have to change this values.
For Drift Scan Images the default values THREAD_PRIORITY_NORMAL and NORMAL_PRIORITY_CLASS can be used, the CheckBoxes should not be checked.
For Fast Scan Images and moderate requirements in the accuracy of the timing try THREAD_PRIORITY_HIGHEST and HIGH_PRIORITY_CLASS and check the CheckBoxes.
For Fast Scan Images and high requirements in the accuracy of the timing try THREAD_PRIORITY_TIME_CRITICAL and REALTIME_PRIORITY_CLASS and check the CheckBoxes, but the images can not be stoped .

On the Priority Form you will see:
Button "Hide" - hides the form
Button "Help" - will show this help file
CheckBox " Always use this ThreadPriority for imaging:" :
The ThreadPriority is set to the priority shown in the label below when an image is started and back to the standard after that.
CheckBox " Always use this PriorityClass for imaging: " :
The PriorityClass is set to the priority shown in the label below when an image is started and back to the standard after that.
Labels below will show ThreadPriority and PriorityClass.
Button "Set current ThreadPriority" will set the ThreadPriority to the selected value in the ComboBox. When WinScan is started the next time, ThreadPriority will be at the normal value again.
Button "Priority for imaging"(at the left) will set the ThreadPriority for imaging to the selected value in the ComboBox. This value will be only used when the CheckBox is checked.
Button "Set current PriorityClass" will set the PriorityClass to the selected value in the ComboBox. When WinScan is started the next time, PriorityClass will be at the normal value again.
Button "Priority for imaging"(at the right) will set the PriorityClass for imaging to the selected value in the ComboBox. This value will be only used when the CheckBox is checked.
Button "GetThreadPriority" shows the current ThreadPriority in the Edit field below. There may be used an other ThreadPriority while an image is taken if the CheckBox is checked.
Button "GetPriorityClass" shows the current PriorityClass in the Edit field below. There may be used an other PriorityClass while an image is taken if the CheckBox is checked.
Button "Set current priority to Default" will reset the values to default. There may be used an other values while an image is taken if a CheckBox is checked.