devcom_smsg_tst

Purpose:

Send a command to a devcom device via the device handler task.

Enter:

devcom_smsg_tst <instrument_name> <command_string>

Where:

instrument_name

Specify an instrument name or device registered by the devcom service task.

command_string

Specify a command to send which can be ‘exit’, ‘reset’, or a custom command string including parameters.

Example:

devcom_smsg_tst AVL483 “AKEN Deviceid @SringVar AKSerialN”
Get device id, firmware rev to variable at string variable, and serial number.

devcom_smsg_tst AVL483 ‘‘AKEN – – -’’
Send command to get device ID, but disregard returned data.

devcom_smsg_tst AVL483 reset
Tell AK_sync to reconfigure its pointers to the Cyflex variables.

devcom_smsg_tst AVL483 exit
Tell AK_sync to exit, closing access to the AK device.

Notes:

Two additional commands are exit and reset.

See Also:

Device Communication User Guide