Chapter 6 System Commands
© 2010 Colby Instruments. PDL-100A Operating and Programming Manual Page 48
ERR? ERROR QUERY
The ERR? query returns the last error number encountered.
<DECIMAL INTEGER><NL>
0 = No Error
1 = Invalid Command
2 = Invalid Argument
3 = Unit did not pass calibration
4 = Delay setting requested is beyond range of device.
5 = Delay not set
99 = Buffer overflow
HP : DIM Error$(100)
OUTPUT 705;"ERR?"<NL>
ENTER 705;Error$
PRINT (ERROR$)
NI : DIM QUERY_RESPONSE As Variant
CWGPIB.Write “ERR?”
QUERY_RESPONSE = CWGPIB.Read(250)
MsgBox (“Last Error Code # ” & QUERY_RESPONSE)
EXEC EXECUTE COMMAND
Sets the delay and stepper motor rate from settings defined in the
next item in FIFO stack.
HP : OUTPUT 705;"EXEC"<NL>
NI : CWGPIB.Write “EXEC”
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com