Age1439_trigger_setup, Evel, Er_adclevel – Agilent Technologies VXI E1439 User Manual
Page 193
183
Agilent E1439 Programmer's Reference
Functions listed alphabetically
age1439_trigger_setup
Sets all triggering parameters. This description also includes information on the following
functions which set or query the trigger parameters individually:
age1439_trigger_adclevel specifies the trigger threshold for an ADC trigger
age1439_trigger_adclevel_get gets the ADC trigger threshold
age1439_trigger_delay specifies a pre- or post-trigger delay time
age1439_trigger_delay_get gets the trigger delay time
age1439_trigger_gen determines whether a module can generate a trigger
age1439_trigger_gen_get gets the trigger generation status
age1439_trigger_magdwell specifies the wait (in samples) before transition causes
trigger
age1439_trigger_magdwell_get gets the number of dwell samples
age1439_trigger_maglevel specifies the trigger threshold for a magnitude trigger
age1439_trigger_maglevel_get gets magnitude trigger threshold
age1439_trigger_slope selects a positive or negative trigger
age1439_trigger_slope_get gets trigger slope
age1439_trigger_type determines the trigger type
age1439_trigger_type_get gets trigger type
VXIplug&play Syntax
#include "age1439".h
ViStatus age1439_trigger_setup(ViSession id, ViInt16 trigType, ViInt32 trigDelay, ViInt16
adcLevel, ViInt16 magLevel, ViInt16 slope, ViInt16 genTrig, ViInt32 magDwell);
ViStatus age1439_trigger_adclevel(ViSession id, ViInt16 adcLevel);
ViStatus age1439_trigger_adclevel_get(ViSession id, ViPInt16 adcLevelPtr);
ViStatus age1439_trigger_delay(ViSession id, ViInt32 trigDelay);
ViStatus age1439_trigger_delay_get(ViSession id, ViPint32 trigDelayPtr);
ViStatus age1439_trigger_gen(ViSession id, ViInt16 genTrig);
ViStatus age1439_trigger_gen_get(ViSession id, ViPInt16 genTrigPtr);
ViStatus age1439_trigger_magdwell(ViSession id, ViInt32 magDwell);
ViStatus age1439_trigger_magdwell_get(ViSession id, ViPInt32 magDwellPtr);
ViStatus age1439_trigger_maglevel(ViSession id, ViInt16 magLevel);
ViStatus age1439_trigger_maglevel_get(ViSession id, ViPInt16 magLevelPtr);
ViStatus age1439_trigger_slope(ViSession id, ViInt16 slope);
ViStatus age1439_trigger_slope_get(ViSession id, ViPInt16 slopePtr);
ViStatus age1439_trigger_type(ViSession id, ViInt16 trigType);
ViStatus age1439_trigger_type_get(ViSession id, ViPInt16 trigTypePtr);
Description
An Agilent E1439 can be triggered to collect data in a variety of ways. The trigger can be
internally generated or can come from an external source. Multiple modules can be triggered
synchronously. A variable pre- and post-trigger delay can be programmed for data collection. The
slope and level of the trigger point on a signal can be selected. The source of the internal trigger
can be either the output of the ADC or the magnitude of the complex output of the decimation
filter.
age1439_trigger_setup is the function that sets all trigger parameters at once. An Agilent E1439
generates a trigger only when it is in the Trigger state and the Sync line on the VXI backplane is
released. When a trigger is generated, the Agilent E1439 asserts the Sync line.