devcom_smsg_tst

Purpose:

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

Enter:

devcom_smsg_tst <instrument_name> “command [parameter1]” …
NOTE: command and parameters are in “quotes”

Where:

instrument_name

Specify an instrument name registered by the devcom device.

command

Specify a command, see device specific documentation.

parameter

Specify values, variables or a string variable (denoted with @) as required for the specific command.

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 exited and reset.

See Also:

Device Communication User Guide