Features and Functions 2
34980A User’s Guide 85
Remote Interface Operation: To assign the sequence to a specific alarm
number, use the following command. Specify the MANual parameter to
remove an association without reassigning it to another alarm.
ROUTe:SEQuence:TRIGger:SOURce <name>,{ALARm1-ALARm4|MANual}
The following program segment selects the alarm source and configures
the instrument to execute the sequence named “MYSEQ_1” when an alarm
is reported on Alarm 1. The Monitor mode is used to evaluate alarm
conditions on the selected channel.
ROUT:SEQ:DEF MYSEQ_1,"ROUT:CLOS (@1001:1009);OPEN (@2001)"
CALC:LIM:UPP 10.25,(@1003)
CALC:LIM:UPP:STAT ON,(@1003)
OUTP:ALARM1:SOUR (@1003)
ROUT:MON:CHAN (@1003)
ROUT:MON:CHAN:ENAB ON, (@1003)
ROUT:SEQ:TRIG:SOUR MYSEQ_1,ALAR1
ROUT:MON:STAT ON
INIT
Deleting Sequences
You can delete sequences from the front panel or over the remote
interface. Deleting a sequence also frees up space in non- volatile memory
previously allocated for the sequence.
• If you attempt to delete a sequence name that is not currently stored
in memory, an error will be generated.
• If you attempt to delete a sequence while it is executing, an error
will be generated. To abort a sequence execution, use the
ROUTe:SEQuence:ABORt command or a Device Clear.
• Deleting a sequence will remove its association with an alarm if used
(see “Executing a Sequence on an Alarm Condition” on page 84 for
more information).
Front Panel Operation: Sequence > DELETE|DELETE ALL
Remote Interface Operation: The following command deletes the sequence
named “MYSEQ_1”.
ROUT:SEQ:DEL MYSEQ_1
The following command deletes all sequences from memory.
ROUT:SEQ:DEL:ALL