Introduction to Programming
1
U2300A Series USB DAQ Programming Guide
5
Querying Parameter Settings
You can query the current value of most parameters by adding a question
mark (
?
) to the command. For example, the following command sets the
scan count to 10 sweeps:
TRIGger:COUNT 10
You can then query the scan count value by sending:
TRIGger:COUNT?
You can also query the minimum or maximum scan count allowed as
follows:
TRIGger:COUNT? MIN
TRIGger:COUNT? MAX
SCPI Command Terminators
A command string sent to the instrument must terminate with a <new
line> (
<NL>
) character. The IEEE- 488 EOI (End- Or- Identify) message is
interpreted as a
<NL>
character and can be used to terminate a command
string in place of a
<NL>
character. A <carriage return> followed by a
<NL>
is also accepted. Command string termination will always reset the
current SCPI command path to the root level.
IEEE-488.2 Common Commands
The IEEE- 488.2 standard defines a set of common commands that perform
functions such as reset, self- test, and status operations. Common
commands always begin with an asterisk (
*
), are three characters in
length, and may include one or more parameters. The command keyword
is separated from the first parameter by a blank space. Use a semicolon
(
;
) to separate multiple commands as shown below:
*RST; *CLS; *ESE 32; *OPC?
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 ...