78 Language Dictionary
Bit position 2 normally serves as an output. To change it to an input, it must first be programmed high. The DIG:DATA?
query returns the last programmed value in bits 0 and 1 and the value read at pin 3 in bit 2. The bits are turned on and off in
straight binary code as follows:
Digital I/O Port Programming Chart
Bit
Configuration
Pin Configuration
1
Bit
Configuration
Pin Configuration
1
Value
0 1 2 1 2 3 4
Value
0 1 2 1 2 3 4
0 0 0 0 Lo Lo Output Gnd 4 0 0 1 Lo Lo Input Gnd
1 1 0 0 Hi Lo Output Gnd 5 1 0 1 Hi Lo Input Gnd
2 0 1 0 Lo Hi Output Gnd 6 0 1 1 Lo Hi Input Gnd
3 1 1 0 Hi Hi Output Gnd 7 1 1 1 Hi Hi Input Gn
1
Pins 1 and 2 are always outputs
Command Syntax [SOURce]:DlGital:DATA[:VALuel <NRf>
Parameters 0 to 7
*RST Value 0
Examples DIG:DATA 7 DIGITAL:DATA:VALUE 7
Query Syntax [SOURce]:DlGital:DATA?
Returned Parameters <NRI> Values from 0 to 7
Related Commands *RST *RCL *SAV
[SOUR:]VOLT
[SOUR:]VOLT:TRIG
These commands set the immediate voltage level or the pending triggered voltage level of the Agilent SAS. The immediate
level is the voltage programmed for the output terminals. The pending triggered level is a stored voltage value that is
transferred to the output terminals when a trigger occurs. A pending triggered level is unaffected by subsequent VOLT
commands and remains in effect until the trigger subsystem receives a trigger or an ABORt command is given. If there is
no pending VOLT:TRIG level, then the query form returns the VOLT level. In order for VOLT:TRIG to be executed,
the trigger subsystem must be initiated (see INITiate).
Command Syntax [SOURce]:VOLTage[:LEVel][:IMMediate][AMPLitude] <NRf+>
[SOURce][:VOLTage[:LEVel]:TRIGgered[:AMPLitude] <NRf+>
Parameters Table 7-3
Default Suffix V
*RST Value Table 7-3
Examples VOLT 200 MA VOLTAGE:LEVEL 200 MA
VOLTAGE:LEVEL:IMMEDIATE:AMPLITUDE 2.5
VOLT:TRIG 20 VOLTAGE:LEVEL:TRIGGERED 20
Query Syntax [SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude]?
[SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude]? MAX
[SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude]? MIN
[SOURce]:VOLTage[:LEVel]:TRIGgered[:AMPLitude]?
[SOURce]:VOLTage[:LEVel]:TRIGgered[:AMPLitude]? MAX
[SOURce]:VOLTage[:LEVel]:TRIGgered[:AMPLitude]? MIN
Returned Parameters <NR3> VOLT? and VOLT:TRIG? return presently programmed
immediate and triggered levels. If not triggered level is programmed,
both returned values are the same.
VOLT? MAX and VOLT? MIN return the maximum and
minimum programmable immediate voltage levels.
VOLT:TRIG? MAX and VOLT:TRIG? MIN return the
maximum and minimum programmable triggered voltage levels.
Related Commands For VOLT *SAV *RCL *RST
For VOLT:TRIG ABOR VOLT *RST