AKs_tst
Purpose:
-
Send a command to an AK device via the AK_sync handler based on provided arguments.
Enter:
-
AKs_tst <instrument_name> <command_string>
Where:
-
instrument_name
Specify the label for the device.
command_string
Specify the command string to send which can be ‘exit’, ‘reset’, or an AK command string.
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 its pointers to the CyFlex variables.AKs_tst AVL483 exit
Tell AK_sync to exit, closing access to the AK device.
Notes:
-
The ‘reset’ command in the code sets the same internal command as ‘exit’, which may not perform a reset as described.