Chapter 5
*TST?
Test Operation Query
Command
Syntax *TST?
Example *TST?
Returns <decimal integer><NL>
Programming
Example
© 2010 Colby Instruments. PDL-100A Operating and Programming Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
The *TST? query initiates an internal self-test by setting all
relays off, moving the electromechanical trombone to zero
delay, and re-initializing all internal variables.
0 = Internal self-test passed.
1 = Internal self-test failed.
HP : DIM TST$(50)
OUTPUT 705;"*TST?"<NL>
ENTER 705;TST$
PRINT(TST$)
NI : DIM QUERY_RESPONSE As Variant
CWGPIB.Write "*TST?"
QUERY_RESPONSE = CWGPIB.Read(250)
MsgBox ("Response is " & QUERY_RESPONSE)
Note: It may take up to 20 seconds to perform the
calibration check. If you are commanding the unit via
GPIB, this query may TIMEOUT before the instrument
returns a status value.
Common Commands
QUERY
Page 38