Chapter 5
Getting Started with Measurement Studio
©
National Instruments Corporation
5-41
Measurement Studio User Manual
4.
Select
Add
. Select
WaveformGraph1
for the ItemID and click
OK
.
5.
Double-click the AutoRefresh control. Add the following code to the
AutoRefresh event handler to bind the waveform graph control to the
network variable data source control:
[VB.NET]
WaveformGraph1.BindingData =
NetworkVariableDataSource1.Bindings(0).GetValue()
[C#]
WaveformGraph1.BindingData =
NetworkVariableDataSource1.Bindings[0].GetValue();