Chapter 5 Remote Interface Reference

Scanning With an External Instrument

ROUTe

:SCAN (@< >) :SCAN?

Select the channels to be included in the scan list. To start the scan, use the INITiate or READ? command. To remove all channels from the scan list, send ROUT:SCAN (@).

The :SCAN? query returns a list of channel numbers in the SCPI

yz“z z” wxformat. The response begins with the “#” character, followed by a single character representing the number of succeeding characters to interpret as a length specifier, followed by a length specifier representing the number of bytes in the block, followed by a block of that many bytes. An empty scan list (one with no channels selected) will be “#13(@)”.

For example, if you send ROUT:SCAN (@101:103), the ROUT:SCAN? command will return the following:

#214(@101,102,103)

ROUTe:SCAN:SIZE?

Query the number of channels in the scan list. Returns a value between 0 and 120 channels.

TRIGger

:SOURce {BUSIMMediateEXTernalTIMer}

:SOURce?

Select the trigger source to control the onset of each sweep through the

scan list (a zz is one pass through the scan list). The selected source is used for all channels in the scan list. The instrument will accept a software (bus) command, an immediate (continuous) scan trigger, an external TTL trigger pulse, or an internally-paced timer. The default is “TIMer”. The :SOUR? query returns the present scan trigger source. Returns “BUS”, “IMM”, “EXT”, or “TIM”.

240

Page 238
Image 238
HP 34970A manual ROUTe Scan @ SCAN?, TRIGger SOURce BUSIMMediateEXTernalTIMer SOURce?