
Device Messages
R&S FSH-K1
1157.3564.12 6
E-8
CMD Command
CMD commands are used to initiate an action or a state transition on the instrument.
Program syntax:
cmd<cr>
Response syntax:
<ack><cr>
Program syntax:
<parameter>,<value><cr>
<parameter> :=
<string>
This is one of the commands defined in the following section
<value>:=
This field depends on the type of parameter, see the specific value
descriptions
Response syntax:
<ack><cr>
Example 1:
This command sets the instrument in Remote Controlled.
cmd<cr>
(send ‘cmd’ command)
0<cr>
(responds ‘command ok’)
REMOTE<cr>
(send parameter ‘REMOTE’)
0<cr>
(responds ‘parameter ok’)
Example 2:
This command saves a dataset on the instrument with the name ‘test’.
cmd<cr>
(send ‘cmd’ command)
0<cr>
(responds ‘command ok’)
SAVE,test<cr>
(send parameter ‘SAVE’ with name ‘test’)
0<cr>
(responds ‘parameter ok’)