Agilent 34980A Multifunction Switch/Measure Unit *34980-90005*
Agilent 34980A Multifunction Switch/Measure Unit *34980-90005*
Agilent 34980A Multifunction Switch/Measure Unit *34980-90005*
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Features and Functions 3<br />
Remote Interface Operation (Digital Input): To assign the alarm number to<br />
report any alarm conditions on the specified digital input channels, <br />
use the following command.<br />
OUTPut:ALARm[1|2|3|4]:SOURce (@)<br />
To configure alarms on the specified digital input channel, use the<br />
following commands (also see the example on the following page).<br />
CALCulate<br />
:COMPare:TYPE {EQUal|NEQual},(@)<br />
:COMPare:DATA ,(@)<br />
:COMPare:MASK ,(@)<br />
Select EQUal to generate an alarm when the data read from the port <br />
is equal to CALC:COMP:DATA after being masked by CALC:COMP:MASK. <br />
Select NEQual (not equal) to generate an alarm when the data read from<br />
the port is not equal to CALC:COMP:DATA after being masked by<br />
CALC:COMP:MASK.<br />
Use CALC:COMP:MASK to designate the “don’t care” bits. Bits that you set <br />
to “0” in the mask are ignored. To enable the specified alarm mode, <br />
send the following command.<br />
CALCulate:COMPare:STATe ON,(@)<br />
Example: Configuring an Alarm on a Digital Input<br />
The following program segment sets the digital pattern for the 34950A in<br />
slot 3 and then enables the pattern comparison mode. When the data read<br />
from the bank is equal to the comparison pattern, an alarm is generated<br />
on Alarm 2.<br />
CALC:COMP:DATA:WORD #HF6,(@3101)<br />
CALC:COMP:TYPE EQUAL,(@3101)<br />
OUTP:ALARM2:SOUR (@3101)<br />
CALC:COMP:STAT ON,(@3101)<br />
Remote Interface Operation (Totalizer): To assign the alarm number to <br />
report any alarm conditions on the specified totalizer channels, use the<br />
following command.<br />
OUTPut:ALARm[1|2|3|4]:SOURce (@)<br />
To configure an alarm on a totalizer channel, specify the desired count <br />
as the upper limit using the following command.<br />
CALCulate:LIMit:UPPer ,(@)<br />
To enable the upper limit on the specified totalizer channel, use the<br />
following command.<br />
CALCulate:LIMit:UPPer:STATe ON,(@)<br />
Set compare pattern (1111 0110)<br />
Generate alarm on match<br />
Enable alarms<br />
Enable pattern compare mode<br />
<strong>Agilent</strong> <strong>34980A</strong> Mainframe User’s Guide 139