National Instruments 374318A-01 用户手册

下载
页码 109
Chapter 4
Getting Started with Measurement Studio
© National Instruments Corporation
4-35
5.
Click the gauge smart tag to display the Gauge Tasks.
6.
Select Auto Format to display the Auto Format dialog box.
7.
Select Dark and click OK.
8.
Right-click the gauge and select Properties to display the Properties 
window.
9.
Set the Range property for the gauge with the drop-down Range type 
editor. Type 
-0.2
 for the minimum value and type 
0.2
 for the 
maximum value.
10. Click the numeric edit smart tag to display the Numeric Edit Tasks.
11. Select Gauge in the Source drop-down list. Setting the Source 
property to the gauge allows two-way binding between the controls.
12. Deselect ArrowKeysButtons, and Text for the InteractionMode 
property of the numeric edit control. Deselecting these interaction 
modes makes the numeric edit an indicator. The numeric edit control 
only displays the calculated mean.
13. Select the Format Mode property and in the Numeric Edit Format 
Mode Editor dialog box, change the Precision to 
4
 to show four 
decimal places of precision.
14. Select File»Save Form1.cs to save your application.
15. Select Debug»Start Without Debugging to run the application.