Introduction to Programming
1
U2300A Series USB DAQ Programming Guide
7
Boolean Parameters
Boolean parameters represent a single binary condition that is either true
or false. For a false condition, the instrument will accept
"OFF"
or
"0"
.
For a true condition, the instrument will accept
"ON"
or
"1"
. When you
query a Boolean setting, the instrument will always return
"0"
or
"1"
.
The following command requires a Boolean parameter:
INPut:IMPedance:AUTO {OFF|0|ON|1}[,(@<ch_list>)]
ASCII String Parameters
String parameters can contain virtually any set of ASCII characters. A
string must begin and end with matching quotes; either with a single
quote or a double quote. You can include the quote delimiter as part of
the string by typing it twice without any characters in between. The
following command uses a string parameter:
DISPlay:TEXT <quoted string>
For example, the following command displays the message
"SCANNING..."
on the instrument's front panel (the quotes are not
displayed).
DISPlay:TEXT "SCANNING..."
You can also display the same message using the following command with
single quotes.
DISPlay:TEXT 'SCANNING...'
Channel List Parameters
Channel list parameters have the form (
@sccc
), where
s
is the mainframe
slot number (1 through 8) and
ccc
is the channel number. You can specify
a single channel, multiple channels, or a range of channels. The channel
list must be preceded with the
"@"
symbol and must be enclosed in
parentheses. The following commands use a channel list (
<ch_list>
)
parameter:
Summary of Contents for U2300A Series
Page 8: ...VIII U2300A Series USB DAQ Programming Guide Contents ...
Page 18: ...1 Introduction to Programming 10 U2300A Series USB DAQ Programming Guide ...
Page 40: ...5 CONFigure Subsystem 32 U2300A Series USB DAQ Programming Guide ...
Page 60: ...6 IEEE 488 Common Command 52 U2300A Series USB DAQ Programming Guide ...
Page 70: ...7 MEASure Subsystem 62 U2300A Series USB DAQ Programming Guide ...
Page 84: ...8 OUTPut Subsystem 76 U2300A Series USB DAQ Programming Guide ...
Page 92: ...9 Root Commands 84 U2300A Series USB DAQ Programming Guide ...
Page 104: ...10 ROUTe Subsystem 96 U2300A Series USB DAQ Programming Guide See Also ROUTe CHANnel RSouRCe ...
Page 130: ...11 SENSe Subsystem 122 U2300A Series USB DAQ ...
Page 162: ...15 WAVeform Subsystem 154 U2300A Series USB DAQ Programming Guide ...
Page 168: ...16 Error Messages 160 U2300A Series USB DAQ Programming Guide ...