JLab fADC125 Library  1.2.1
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups
Pulser Initialization/Configuration

Functions

int fa125SetPulserTriggerDelay (int id, int delay)
 Set the delay between the output pulse and f1TDC trigger. More...
 
int fa125SetPulserWidth (int id, int width)
 Set the width of the output pulse. More...
 
int fa125SoftPulser (int id, int output)
 Trigger the pulser. More...
 

Detailed Description

Function Documentation

int fa125SetPulserTriggerDelay ( int  id,
int  delay 
)

Set the delay between the output pulse and f1TDC trigger.

Parameters
idSlot number
delayThe number of samples of delay between the output pulse and the trigger
Returns
OK if successful, otherwise ERROR.

References FA125_PROC_PULSER_TRIG_DELAY_MASK, fa125ID, FA125LOCK, fa125p, FA125UNLOCK, fa125_a24::proc, and fa125_a24_proc::pulser_trig_delay.

int fa125SetPulserWidth ( int  id,
int  width 
)

Set the width of the output pulse.

Parameters
idSlot number
widthThe number of samples that make up the width of the output pulse
Returns
OK if successful, otherwise ERROR.

References FA125_PROC_PULSER_WIDTH_MASK, fa125ID, FA125LOCK, fa125p, FA125UNLOCK, fa125_a24::proc, and fa125_a24_proc::pulser_trig_delay.

int fa125SoftPulser ( int  id,
int  output 
)

Trigger the pulser.

Parameters
id
  • Slot Number
output
  • 0: Pulse out only
  • 1: fa125 Trigger only
  • 2: Both pulse and trigger
Returns
OK if successful, otherwise ERROR.

References FA125_PROC_PULSER_CONTROL_DELAYED_TRIGGER, FA125_PROC_PULSER_CONTROL_PULSE, fa125ID, FA125LOCK, fa125p, FA125UNLOCK, fa125_a24::proc, and fa125_a24_proc::pulser_control.