User manual
HP3458A Emulation Mode
H-19
STB?
Purpose To request the status register value.
Format STB?
Response Decimal weight Bit number Status register condition
4 2 SRQ command executed
8 3 Power on
16 4 Ready for instructions
32 5 Error (as set by EMASK)
64 6 Service requested (SRQ)
128 7 Data available
Description The STB? query returns a number representing the weighted sum of all set bits in the status register.
The instrument may be programmed to generate an SRQ for specific status register conditions with
the RQS command.
Note The STB? query will always show bit 4 as being cleared since the query is being processed, but this
bit can be checked by using serial polling.
SWEEP
Purpose To program the interval between readings and the number of samples per trigger.
Format SWEEP <effective_interval>, <#_samples>
Parameter <effective_interval> 0.001 to 9999999.99
<#_samples> 1 to 99999
Default Interval: 0
#samples: 1024 (power-on=1)
Query SWEEP? Returns two responses separated by a comma: (1) the specified interval, and (2) the
specified number of samples.
Description The SWEEP command specifies the both the effective interval between readings (samples and the total
number of samples taken per trigger event.
Example SWEEP 0.1, 100 0.1 interval, 100 samples.
T or TRIG
Purpose To program the trigger event.
Format T <event>
TRIG <event>