Ctype, Error – HP E1368A User Manual

Page 67

Advertising
background image

:CTYPe?

SYSTem:CTYPe? <

number

>

returns the module (card) type of a selected

module in a switchbox.

Parameters

Parameter Name

Parameter Type

Range of Values

Default Value

number

numeric

01 - 99

N/A

Comments

Microwave Switch Module Model Number:
The

SYSTem:CTYPe? <

number

>

command returns (for both modules):

HEWLETT-PACKARD,E1368A,0,A.01.00

Note: The 0 after the module number is the serial number of the module
(always 0). A.01.00 is an example of the module revision code number.

Example

Reading the Model Number of a Card #1 Module

SYST:CTYP? 1

Returns the model number.

: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
the switchbox error numbers and messages.

Comments

Error Numbers/Messages in the Error Queue: Errors generated
by a switchbox store an error number and corresponding error
message in the error queue. Each error message can be up to 255
characters long.

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?

command returns 0, "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 oldest error
numbers/messages remain in the queue and the most recent are lost.

*RST Condition:

*RST

does not clear the error queue.

Example

Reading the Error Queue

SYST:ERR?

Query the error queue, read and
print the numbers/message.

66 HP E1368A/69A/70A Command Reference

Chapter 4

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertising