National Instruments 374318A-01 用户手册

下载
页码 109
Chapter 4
Getting Started with Measurement Studio
© National Instruments Corporation
4-17
Adding user interface controls to the project
1.
Select View»Toolbox to display the Toolbox. The Toolbox contains 
components and controls that you can add to your project.
2.
Select the Windows Forms tab. The Windows Forms tab contains 
controls and components included in the 
System.Windows.Forms 
namespace.
3.
Select the Button control and drag and drop it onto the form.
4.
Right-click the button and select Properties to display the Properties 
window. You configure the properties of the control in the Properties 
window.
5.
The Text property is highlighted. Type 
Start Scan
 for the button 
text.
6.
Select another button control and drag and drop it onto the form. Type 
Stop Scan
 for the button text.
7.
Select the Measurement Studio .NET Tools tab on the Toolbox.
8.
Select the Waveform graph control and drag and drop it onto the 
form.
9.
Double-click the AIScan component (
aiScan1
) to add it to the 
component tray beneath the form.
10. Right-click the AIScan component (
aiScan1
) and select Properties 
to display the Properties window.
11. Click on the ClockRate property and type 
500
 for this property 
setting.