56
4-14-5. Trigger Commands Examples
Example 1
The transient system for the trigger in immediate mode.
:TRIG:TRAN:SOUR IMM
:CURR:TRIG MAX
:VOLT:TRIG 5
:
INIT:NAME TRAN → The current changes to the
maximum, and the voltage
changes to 5V.
Example 2
The transient system for the trigger in BUS mode.
:TRIG:TRAN:SOUR BUS
:CURR:TRIG MAX
:VOLT:TRIG 5
:INIT:NAME TRAN
:
TRIG:TRAN →
(or *TRG)
The current changes to the
maximum, and the voltage
changes to 5V.
Example 3
The output system for the trigger in immediate mode.
:TRIG:OUTP:SOUR IMM
:OUTP:TRIG 1
:
INIT:NAME OUTP → The output changes to ON.
Example 4
The output system for the trigger in BUS mode.
:TRIG:OUTP:SOUR BUS
:OUTP:TRIG 1
:INIT:NAME OUTP
:
TRIG:OUTP →
(or *TRG)
The output changes to ON.
4-15. IEEE 488.2 Common Commands
4-15-1. *CLS
Set
Description
The *CLS command clears the Standard Event Status, Operation
Status and Questionable Status registers.
The corresponding Enable registers in each of the above
registers are not cleared.
If a <NL> newline code immediately precedes a *CLS command,
the Error Que and the MAV bit in the Status Byte Register is also
cleared.
Syntax
*CLS
Example
*CLS
Clear the event status register of Standard register and Operation
register and Questionable register.