EasyManua.ls Logo

Colby Instruments PDL-100A - Err? Error Query; Exec Command

Colby Instruments PDL-100A
74 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
Command
Syntax
ERR?
Example
ERR?
Returns
<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
Programming
Example
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.
Command
Syntax
EXEC
Example
EXEC
Returns
None
Programming
Example
HP : OUTPUT 705;"EXEC"<NL>
NI : CWGPIB.Write “EXEC”
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents