Download LabWindows/CVI User Manual

Transcript
Appendix A
Configuring LabWindows/CVI
Timer Options—useDefaultTimer
You can configure LabWindows/CVI timer options in the Registry.
The timer option, useDefaultTimer, is a DWORD value; 0 indicates
False and 1 indicates True.
If you set the useDefaultTimer option to True, LabWindows/CVI uses
the default Windows timer to implement the LabWindows/CVI
timing-related functions, such as Timer and Delay. The default Windows
timer provides a resolution of 55 ms under Windows 98 and 10 ms under
Windows 2000/NT/XP/Me.
If you set useDefaultTimer to False under Windows 98,
LabWindows/CVI uses the Windows multimedia library timer. The
multimedia library timer provides a resolution of 1 ms.
If you set useDefaultTimer to False under Windows 2000/NT/XP/Me,
LabWindows/CVI attempts to use the performance counter timer. The
performance counter timer provides a resolution of 1 ms. If the
performance counter timer is not available, LabWindows/CVI uses the
multimedia library timer, which provides a resolution of 1 ms.
The default value for useDefaultTimer is False.
Font Options
LabWindows/CVI provides configuration options to set the fonts used
throughout the environment.
DialogFontName
DialogFontName specifies the font that LabWindows/CVI uses in dialog
boxes and the built-in pop-up panels, as shown in the following example,
DialogFontName=Courier.
DialogFontSize
DialogFontSize specifies the font size that LabWindows/CVI uses in
dialog boxes and the built-in pop-up panels, as shown in the following
example, DialogFontSize=30.
DialogFontBold
DialogFontBold specifies whether the font that LabWindows/CVI uses
in dialog boxes and the built-in pop-up panels is bold, as shown in the
following example, DialogFontBold=Yes.
© National Instruments Corporation
A-5
LabWindows/CVI User Manual