16 Remote Control
178 SRM-3006 Narda
Rules for GET commands
• Each GET command comprises a command string and a question mark:
Command ?;
• No distinction is made between upper and lower case characters:
Command ?; = COMMAND ?;
• Each GET command must end with a semicolon (;).
Rules for SET commands
• Each SET command comprises a command string and a specific number
of parameters: Command [Parameter_1],...,[Parameter_n];
• The command must be separated from the parameters by one or more
spaces.
• Parameters must be separated from each other by a comma.
• /LF can be used optionally as a separator between parameters.
• The command string must not contain a question mark (?). Also, the
command string must not contain the characters /DC1 and /DC3 for
sequence control.
• The command must end with a semicolon (;).
16.4.2 SRM-3006 responses
• The SRM-3006 initially responds to a GET command with /CR followed by
the value of the requested parameter and an error code:
– 0 = transmission correct
– xxx (error code) = transmission error
The value and code are separated by a comma, and the response ends
with a semicolon (;): [Value],0;
• The SRM-3006 inserts /CR after a certain number of commas in long
responses in order to force a new line.
• The SRM-3006 also responds to a SET command with /CR and an error
code (normally "0"). The response ends with a semicolon (;). In this way
you can also check if the communication is working properly with SET
commands.