JLab fADC250-V2 Library  0x42
Deprecated - To be removed

Functions

void faSetCalib (int id, unsigned short sdelay, unsigned short tdelay)
 Set the SyncReset and Trigger Delay. More...
 
int faSetMGTTestMode (int id, unsigned int mode)
 Set the fa250 operation when Sync Reset is received. More...
 

Detailed Description

Function Documentation

◆ faSetCalib()

void faSetCalib ( int  id,
unsigned short  sdelay,
unsigned short  tdelay 
)

Set the SyncReset and Trigger Delay.

This routine has no effect on the module. (remnant of v1)

Parameters
idSlot number
sdelaySyncReset delay
tdelayTrigger1 delay

References fadc_struct::delay, fadcID, FALOCK, FAp, and FAUNLOCK.

◆ faSetMGTTestMode()

int faSetMGTTestMode ( int  id,
unsigned int  mode 
)

Set the fa250 operation when Sync Reset is received.

This routine is deprecated. Use faSetAlignmentDebugMode

Parameters
idSlot number
mode
  • 0: Send a calibration sequence to the CTP for alignment purposes
  • 1: Normal operation
See also
faSetAlignmentDebugMode
Returns
OK if successful, otherwise ERROR.

References FA_MGT_ENABLE_DATA_ALIGNMENT, FA_MGT_FRONT_END_TO_CTP, FA_MGT_RESET, FA_RELEASE_MGT_RESET, fadcID, faEnableSyncSrc(), FALOCK, FAp, FAUNLOCK, and fadc_struct::mgt_ctrl.