start alg execution
.5ms pulse

Variable Width Pulse Per Trigger

This means that the channel generates a pulse whose width is specified by the algorithm each time the algorithm executes. The value sent by the algorithm can range from 7.87μSec to 7.812mSec.

The command sequence to set-up this mode is:

SOURce:FUNCtion:PULSe (@<ch_list>) to enable pulse generation.

the following two commands return the E1538 to the Single pulse-per-trigger mode from either the FM or Pulse Width Modulation modes. Since Single pulse-per-trigger is the default pulse mode at power-up or after *RST, only *RST then SOUR:FUNC:PULS (@<ch_list>) are actually needed.

SOURce:FM[:STATe] OFF,(@<ch_list>) to disable FM mode. SOURce:PULM[:STATe] OFF,(@<ch_list>) to disable PWM mode.

To configure channel 44 to output a single controlled width pulse per trigger

*RST

after *RST, sour:func:puls is all that is required to enable the default single pulse-per-trigger mode.

SOUR:FUNC:PULS (@144)channel sources pulses...

ALG:DEF ’ALG1’,’static float outpulse=0.001; O144=outpulse;’

INIT

. . .

ALG:SCAL ’ALG1’,’outpulse’,5E-4

ALG:UPDATE

Figure 16. Output Variable Width Pulse per Trigger

Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 25

Page 29
Image 29
VXI VT1538A user manual Variable Width Pulse Per Trigger