HP E1429A manual Pre- and Post-Arm Readings, Prepost.C, ARMSOUR1 EXT

Models: E1429A

1 420
Download 420 pages 44.04 Kb
Page 53
Image 53

Pre- and Post-Arm Readings

This program demonstrates:

how to program the digitizer to take a minimum of 100 pre-arm readings and 100 post-arm readings.

how to set the arm source to an external signal applied to the "Ext 1" BNC.

PREPOST.C

*RST;*CLS

/* reset and clear the digitizer */

CONF1:ARR:VOLT (200),2,(@3)

/* set 200 readings total, 2V range, */

 

/* Diff input port 3*/

ARM:SOUR1 EXT

/* arm source is front panel "Ext 1" BNC */

SENS1:SWE:OFFS:POIN -100

/* set 100 pre-arm readings */

INIT

/* put digitizer in wait-for-arm state */

FETCH?

/* retrieve pre- and post-arm readings */

Comments 1. Pre-arm and Post-arm Reading Count. When measurements consist of pre- and post-arm readings, there must be at least three pre-arm readings and seven post-arm readings specified. Note that pre-arm readings are preceded by a minus (-) sign.

2.Total Reading Count. The size parameter of the CONFigure command specifies the total number of readings (pre- and post-arm). SENS1:SWE:OFFS:POIN specifies the number of pre-arm readings. The number of post-arm readings in this program is then (200) - 100 = 100. The total reading count can be changed without re-sending the CONFigure command by using the TRIGger:STARt:COUNt command or SENSe:SWEep:POINts command.

3.Pre-arm Readings. Pre-arm readings start when the digitizer receives the INITiate[:IMMediate] command. Pre-arm readings continue until an arm is received. Arms are ignored until the pre-arm reading count is reached. If the pre-arm count is exceeded before the arm occurs, the last SENSe:SWEep:OFFSet:POINts number of readings taken are stored in memory.

Chapter 2

Using the Digitizer 53

Page 53
Image 53
HP E1429A manual Pre- and Post-Arm Readings, Prepost.C, ARMSOUR1 EXT