EasyManua.ls Logo

Colby Instruments PDL-100A - Rel? Relay Query

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 56
REL? RELAY QUERY
The REL? query asks for the status of all relays, 16 (far left)
through 1 (far right).
Command
Syntax
REL?
Example
REL?
Returns
<ASCII text><NL>
0001000000101011, X.YYYY ns
0 = Relay OFF
1 = Relay ON
X.YYYY ns = total delay
Programming
Example
HP : OUTPUT 705;"REL?"<NL>
ENTER 705;REL$
PRINT (REL$)
NI: DIM QUERY_RESPONSE As Variant
CWGPIB.Write “REL?”
QUERY_RESPONSE = CWGPIB.Read(250)
MsgBox (“Relay status is:” & QUERY_RESPONSE)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents