Product specifications
Instrumentation Laboratory Exercise 34
When digitization is complete the variable x will have the text value
YES. In the In/Then/Else Conditional box it will be input (left side) as
the variable A, so to check for this condition you need to enter
A= = "YES" in the box. When this is true it will operate the Then
output which we will run to a Break box (found under the Flow >
Repeat menu). This will break out of the status checking loop, and
allow continued execution from the bottom end of the second Until
Break loop.
Now we must read the waveform data. This is done in a third Direct
I/O box, which is fed from the bottom of the second Until Break loop.
It needs to contain the following two lines:
NOTE
On the second line you will have to change the command to READ, and select
TEXT type data in a STRing (a series of letters) format. The variable “x” will
automatically be generated for you as an output on the right side of the
MultiInstrument Direct I/O box. This needs to be wired to an If/Then/ Else
Conditional box (found under the Flow menu).
1 "WAV:DATA?" // Requests the actual
waveform data
2 READ BINBLOCK VL WORD ARRAY:*
NOEND
// Reads the voltage as a
binary block array into
VL
NOTE
• You will need to change the second line to a READ, and set
the format appropriately. Make sure you click the button to
read No END byte.