JLab f1TDC-V2,V3 Library  V2:0x0e,V3:0x15
 All Data Structures Files Functions Variables Typedefs Macros Groups
Pulser Configuration (V3 only)

Functions

int f1ResetPulser (int id)
 Reset (initialize) pulser. More...
 
int f1SetPulserTriggerDelay (int id, int delay)
 Set the delay between the output pulse and f1TDC trigger. More...
 
int f1SetPulserDAC (int id, int output, int dac)
 Set the DAC level for the outgoing pulse. More...
 
int f1SoftPulser (int id, int output)
 Trigger the pulser. More...
 

Detailed Description

Function Documentation

int f1ResetPulser ( int  id)

Reset (initialize) pulser.

Parameters
id
  • Slot Number

References F1_PULSER_DAC_INT_REF, F1_PULSER_DAC_RESET, F1_VERSION_BOARDREV_MASK, f1ID, F1LOCK, f1p, f1Rev, and F1UNLOCK.

int f1SetPulserDAC ( int  id,
int  output,
int  dac 
)

Set the DAC level for the outgoing pulse.

Parameters
id
  • Slot Number
output
  • 1: channels 0-23
  • 2: channels 24-37
  • 3: all channels
dac
  • 400 should be sufficient for the Hall D descriminator cards)
Returns
OK if successful, otherwise ERROR.

References F1_PULSER_DAC_A_VALUE, F1_PULSER_DAC_B_VALUE, F1_PULSER_DAC_BOTH_VALUE, F1_PULSER_DAC_MASK, F1_VERSION_BOARDREV_MASK, f1ID, F1LOCK, f1p, f1Rev, and F1UNLOCK.

int f1SetPulserTriggerDelay ( int  id,
int  delay 
)

Set the delay between the output pulse and f1TDC trigger.

Parameters
id
  • Slot Number

References F1_PULSER_DELAY_MASK, F1_VERSION_BOARDREV_MASK, f1ID, F1LOCK, f1p, f1Rev, and F1UNLOCK.

int f1SoftPulser ( int  id,
int  output 
)

Trigger the pulser.

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

References F1_PULSER_PULSE_OUT, F1_PULSER_TRIGGER_OUT, F1_VERSION_BOARDREV_MASK, f1ID, F1LOCK, f1p, f1Rev, and F1UNLOCK.