Agilent Technologies E1437A User Manual page 151

20 msample/second adc with filters and fifo
Table of Contents

Advertisement

E1437A
ASCII Overview and Commands
Example:
The following example shows how to synchronously change the center frequency
and maintain the phase relationship between modules in a multi-module system
without stopping a measurement in progress.
! For all ids, check status bits 0 and 1 to assure that all modules are in
MEASURE or IDLE
! state. Changing frequency on modules in TRIGGER or ARM states may risk
unintended
! frequency changes.
!
OUTPUT <addrAll>;"status?"
ENTER
!
!for all ids, prepare all modules for a frequency change.
OUTPUT <addrAll>;"FREQUENCY:SETUP 0,1,0.25"
! Master module asserts and releases SYNC line to move all modules to the new
! center frequency
OUTPUT <addrMaster>;"MEAS:CONTROL 0,1"
OUTPUT <addrMaster>;"MEAS:CONTROL 0,0"
The following example shows how to synchronously change the center frequency
and reset the phase for all modules in a multi-module system without stopping a
measurement in progress.
! For all ids, check status bits 0 and 1to assure that all modules are in
MEASURE or IDLE
! state. Changing frequency on modules in TRIGGER or ARM states is invalid.
!
OUTPUT <addrAll>;"status?"
ENTER
!
! Prepare all modules to change to zero frequency and phase.
OUTPUT <addrAll>;"FREQUENCY:SETUP 0,1,0.0"
! Master module asserts SYNC line to move all modules to the zero center
frequency and phase */
OUTPUT <addrMaster>;"MEAS:CONTROL 0,1"
OUTPUT <addrMaster>;"MEAS:CONTROL 0,0"
!
!Master module asserts SYNC line to move all modules to the zero center
frequency and phase */
! Prepare all modules for a frequency change
OUTPUT <addrAll>;"FREQUENCY:SETUP 0,1,0.25"
! Master module asserts and releases SYNC line to move all modules to the new
center frequency
! while maintaining the phase
!
!Verify Sync Valid on Master
REPEAT
OUTPUT <addrMaster>;"STATUS?"
ENTER <addrMaster>;Oper_status
UNTIL BIT (Oper_status,7)
!
OUTPUT <addrMaster>;"MEAS:CONTROL 0,1"
OUTPUT <addrMaster>;"MEAS:CONTROL 0,0"
Reset Values:
cmplxdc=OFF, sync=OFF, freq=0
See Also
CLOCK:FS?, DATA:TYPE, CLOCK:MULTI:SYNC, MEAS:CONTROL
5-28
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
<addrAll>;Response$
...
<addrAll>;Response$
...
...
...
FREQUENCY:SETUP
command/query

Advertisement

Table of Contents
loading

Table of Contents