NI 6583R User Guide and Specifications
22
ni.com
21. Right-click the stop condition of the While Loop and add an control. Label this control
Stop
.
Your block diagram should now resemble the block diagram in Figure 15.
Figure 15.
Data RW (Host).vi Block Diagram
22. Save the VI as
Static RW with Voltage (Host).vi
.
Running the Host VI
1.
Select
Window»Show Front Panel
to open the front panel of the VI.
2.
Click the
Run
button to run the VI.
3.
Enter a number in the
IO Module\SE_Data_Dir
control to set the direction of the channels. A
logic 0 indicates that the channel is an input, and a logic 1 indicates that the channel is an output.
Each of the 32 bits corresponds directly with each of the 32 channels. Bit 0 corresponds with
channel 0, and so on.
4.
Connect an output channel to an input channel or to a digital multimeter (DMM).
5.
Change the logic state of the output channel and ensure that the corresponding logic state on an
input channel or on the DMM also changes.
6.
Change the voltage on the output channel using the
IO Module\Voltage_Level
control and ensure
that the voltage changes on the corresponding input channel or the DMM. Use Table 6 to set the
IO Module\Voltage_Level
control to the desired I/O voltage.
7.
Click the
Stop
button on the front panel and close the VI.
Table 6.
IO Module\Set Voltage Control
IO Module\Set Voltage Control
I/O Voltage
0
1.2 V
1
1.5 V
2
1.8 V
3
2.5 V
4
3.3 V