MULT_AD.C

/* digitizer 1 */

 

CONF1:ARR:VOLT (10),1,(@1)

/* set 10 readings, 1V range, on */

 

/* channel 1, S/E input port 1 */

SENS:ROSC:SOUR INT

/* reference source is internal */

 

/* 20 MHz oscillator */

OUTP:ECLT0:FEED ’SENS:ROSC’

/* route reference oscillator */

 

/* clock signal to ECLT0 */

OUTP:ECLT0:STAT ON

/* enable routing of the signal */

ARM:SOUR1 TTLT0

/* arm source is TTLT0 trigger line */

TRIG:SOUR TIM

/* trigger source is period derived */

 

/* from the TRIG:TIM command */

TRIG:TIM1 20E-6

/* set sample period to 20 us */

SENS2:FUNC ’VOLT4’

/* set up input port 4 on channel 2 */

SENS2:VOLT:RANG 5

/* set voltage range on channel 2 */

 

/* the arm and trigger sources are */

 

/* the same as for channel 1 */

/* digitizer 2 */

 

CONF1:ARR:VOLT (10),1,(@1)

/* set 10 readings, 1V range, on */

 

/* channel 1, S/E input port 1 */

SENS:ROSC:SOUR ECLT0

/* reference oscillator source is */

 

/* ECLT0 trigger line */

SENS:ROSC:EXT:FREQ 20E6

/* specify frequency of clock signal */

ARM:SOUR1 TTLT0

/* arm source is TTLT0 trigger line */

TRIG:SOUR TIM

/* trigger source is period derived */

 

/* from the TRIG:TIM command */

TRIG:TIM1 20E-6

/* set sample period to 20 us */

SENS2:FUNC ’VOLT4’

/* set up input port 4 on channel 2 */

SENS2:VOLT:RANG 5

/* set voltage range on channel 2 */

 

/* the arm and trigger sources are */

 

/* the same as for channel 1 */

Continued on Next Page

Chapter 2

Using the Digitizer 57

Page 57
Image 57
HP E1429A manual Multad.C