Chapter 5 Getting Started with Measurement Studio
Measurement Studio User Manual 5-30 ni.com
6. For the Location, browse to the \\localhost\System\double
location in the Select Network Item dialog box.
7. Click OK to return to the NetworkVariableBinding Collection Editor
dialog box.
8. After you configure the binding properties, click OK to return to the
Windows Forms Designer.
Displaying the array of data on a Windows form
1. Select WaveformGraph in the Toolbox and drag and drop it on the
form.
2. Right-click the waveform graph and select Properties to display the
Properties window for the graph. You can configure the properties of
the control in the Properties window.
3. Expand the Data Bindings group in the Properties window.
Select Other Data Sources»Form 1 List Instances»
networkVariableDataSource1»Binding1 from the Binding Data
drop-down list. This will bind the waveform graph to the network
variable that you are writing to in the console application. The
waveform graph will then read and display the data being written to the
network variable.
4. Select File»Save Form1 to save your application.
5. Select Debug»Start Without Debugging to run the application. The
waveform graph displays the array of data.