AKs_tst

Purpose:

Send a command to an AK device via the AK_sync handler.

Enter:

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

Where:

instrument_name

Specify the instrument name AK_sync task has registered as

AKcommand

Specify a 4 byte AK command, see device specific documentation.

parameter

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

Example:

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

AKs_tst AVL483 “AKEN – – -“
Send command to get device ID, but do not do anything with returned data.

AKs_tst AVL483 reset
Tell AK_sync to reconfig it‘s pointers to the CyFlex variables.

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

Notes:

Two additional commands are exit and reset. They can have parameterN.

See Also:

AK_sync, Device Communication User Guide