Tutorial
KIKUSUI Electronics Corp.
PWR-01 Interface Manual
be set to 20 V and the current to 20 A when a trigger occurs.
GLOB:INIT:TRAN
'Initiate the measurement.
GLOB:*TRIG
'Apply a software trigger.
When you send the TRIG command, the settings of channel 0 and channel 1 are
changed.
Error Checking
■
Error/event queue
The SCPI specifications define a standard error reporting scheme, Error/Event
Queue. This is a FIFO (First In First Out) queue, which records errors and events.
The maximum number of errors/events that the PWR-01 can record is 16. Each
error/event can be read with the SYSTem:ERRor query.
SYSTem:ERRor?
The response to this query contains a numeric part (error/event number) and a
textual description, such as:
-222,"Data out of range"
The error/event queue is empty when the *CLS common command is sent, when
the last item in the queue is read, and when the PWR-01 is turned on. When the
error/event queue is empty, the query returns the following:
0,"No error"
■
Displaying communication errors
The PWR-01 has a debug trace function. The oldest item among the errors and
events (if they are present) can be displayed on the PWR-01. This function is con-
venient when you debug your remote applications.
While an error/event item is displayed on the panel, the normal voltmeter and am-
meter are disabled.
If the error/event queue is empty, the debug trace function does not display any
errors. Sending the *CLS command clears the communication error display.
If in local mode, the debug trace function is temporarily disabled.
The communication error display can be enabled or disabled with the SYSTem:ER-
Ror:TRACe command.
SYSTem:ERRor:TRACe {ON|OFF}