92 Switchbox Command Reference
Chapter 4
Example
Setting Card #1 Module to its Power-on Stat
e
6<67&321
Set module #1 channels to power-on state
(open)
SYSTem:CTYPe?
SYSTem:CTYPe? <number>
returns the module (card) type of a selected module in
a switchbox.
Parameters
Comments
E1476A Multiplexer Module Model Number:
SYSTem:CTYPe? <number> returns:
+(:/(773$&.$5'(O$$
where the 0 after E1476A is the module serial
number (always 0) and A.08.00 is an example of the module revision code number.
Example
Reading the Model Number of a Card #1 Module
6<67&7<3"
Return the model number
SYSTem:ERRor?
SYSTem:ERRor?
returns the error numbers and corresponding error messages in the
error queue of a switchbox. See Appendix C for a listing of switchbox error numbers
and messages.
Comments
Error Numbers/Messages in the Error Queue:
Each error generated by a switchbox
stores an error number and corresponding error message in the error queue. The
error message can be up to 255 characters long, but typically is much shorter.
Clearing the Error Queue:
An error number/message is removed from the queue each
time the SYSTem:ERRor? command is sent. The errors are cleared first-in, first-out.
When the queue is empty, each following SYSTem:ERRor? query r0, “No
error”. To clear all error numbers/messages in the queue, execute the *CLS
command.
Maximum Error Numbers/Messages in the Error Queue:
The queue holds a maximum
of 30 error numbers/messages for each switchbox. If the queue overflows, the last
error number/message in the queue is replaced by -350, “Too many errors”. The
least-recent error numbers/messages remain in the queue and the most recent are
discarded.
Example
Reading the Error Queue
6<67(55"
Query the error queue
Name
Type
Range of Values
Default Value
<number>
numeric
1 through 99
N/A
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com