C H A P T E R
1 6
-
C H A N G E
This section shows 3 available functions for controlling an attached instrument via
the server.
This is to allow basic instrument control in applications where the AT is being
used entirely remotely.
The functions available allow a program to be loaded into an AT and give the
ability to run and stop it.
Variant LoadProgramToAT (LPCSTR ComPort, LPCSTR ProgName)
"PROGRAM DOES NOT EXIST"
"INVALID PROGRAM"
"LOADING"
"LOADED"
Variant RunProgramInAT (LPCSTR ComPort)
"NO PROGRAM"
"SENT"
"DONE"
Variant StopAT (LPCSTR ComPort)
"STOPPED"
AT5600 User Manual 98-119 issue 14
L O G
Program is not in the servers' program folder.
Program fails AT test program validation.
Returned when command is first sent to server, and
every subsequent time it is sent until loading finishes.
The program has been successfully loaded, this will
continue to be returned, and the program will not load
until either StopAT() is called or the server receives
results on that COM port.
The AT has no program to run.
Returned when the program has started to run and
The program has finished running; results will be
available. If the function is called after it has returned
this value it will cause the program to be run again.
The AT must stop whatever test it is running.
every subsequent time
the function is called until
the server receives
results.
Page 413
Need help?
Do you have a question about the AT5600 and is the answer not in the manual?
Questions and answers