2-2
IM 04L51B01-17EN
2.1 Command Transmission and Recorder Responses
Notes on Writing Commands in a Series
• Only setting commands can be written in a series.
• Queries (see the next section) cannot be written in a series.
• If there is an error in one of the commands in a series, the commands before it are
canceled, and those after it are not executed.
Example of a Command
SRangeAI,0001,VOLT,2V,OFF,-15000,18000,0;SRangeAI,0002,SKIP
Queries
Queries are used to inquire the recorder settings. To send a query, append a question mark
to the command name or parameter. When the recorder receives a query, it returns the
relevant setting as a character string in an appropriate syntax. Queries can be used on some
of the available setting and operation commands.
Command name? terminator
Command name,parameter1? terminator
Examples of Queries and Responses
Query Example of Responses
SRangeAI? SRangeAI,0001,VOLT,2V,OFF,–20000,20000,0
SRangeAI,0002,...............................................................
..........................................................................................
SRangeAI,0001? SRangeAI,0001,VOLT,2V,OFF,–20000,20000,0
Command Names
A command name is a character string consisting of up to 16 alphanumeric characters. The
first character represents the command type.
Notes on Writing Commands Names
• Command names are not case sensitive.
• Spaces before the character string are ignored.