JLab VME Pipeline TI Library  3v11.3
JLab VME Pipeline TI library
 All Classes Functions Variables Groups
Functions
Master Status

Functions

int tiGetTriggerLock ()
 Get the current setting of the trigger lock mode. More...
 
int32_t tiGetTSInput ()
 Return the enable trigger inputs as a bit mask. More...
 
int32_t tiGetPulserEventType (int32_t *fixed_type, int32_t *random_type)
 Return the event type for the TI Master's fixed and random internal trigger. More...
 
void tiPrintTriggerTable (int showbits)
 Print trigger table to standard out. More...
 
int tiGetTriggerWindow ()
 Get the window of the input trigger coincidence window. More...
 
int tiGetTriggerInhibitWindow ()
 Get the width of the input trigger inhibit window. More...
 
int tiGetTrig21Delay ()
 Get the delay of Trig1 relative to Trig2 when trigger source is 11. More...
 
int tiGetTriggerLatchOnLevel ()
 Get the trigger latch pattern readout in the data stream to include the Level of the input trigger OR the transition to Hi. More...
 
int tiGetSyncEventInterval ()
 Get the SyncEvent Block interval. More...
 
int tiSyncResetRequestStatus (int pflag)
 Status of SyncReset Request received bits. More...
 
int tiGetConnectedFiberMask ()
 Returns the mask of fiber channels that report a "connected" status from a TI. More...
 
int tiGetTrigSrcEnabledFiberMask ()
 Returns the mask of fiber channels that report a "connected" status from a TI has it's trigger source enabled. More...
 

Detailed Description

Function Documentation

int tiGetConnectedFiberMask ( )

Returns the mask of fiber channels that report a "connected" status from a TI.

Returns
Fiber Connected Mask
int32_t tiGetPulserEventType ( int32_t *  fixed_type,
int32_t *  random_type 
)

Return the event type for the TI Master's fixed and random internal trigger.

Parameters
fixed_typeFixed Pulser Event Type
random_typePseudo Random Pulser Event Type
Returns
OK if successful, otherwise ERROR
int tiGetSyncEventInterval ( )

Get the SyncEvent Block interval.

Returns
Block interval of the SyncEvent
int tiGetTrig21Delay ( )

Get the delay of Trig1 relative to Trig2 when trigger source is 11.

Returns
Latency in steps of 4 nanoseconds with an offset of ~2.6 microseconds, otherwise ERROR
int tiGetTriggerInhibitWindow ( )

Get the width of the input trigger inhibit window.

Returns
Width of the input inhibit window (units of 4ns), otherwise ERROR
int tiGetTriggerLatchOnLevel ( )

Get the trigger latch pattern readout in the data stream to include the Level of the input trigger OR the transition to Hi.

Returns
1 if enabled, 0 if disabled, otherwise ERROR
int tiGetTriggerLock ( )

Get the current setting of the trigger lock mode.

Returns
1 if enabled, 0 if disabled, ERROR otherwise.
int tiGetTriggerWindow ( )

Get the window of the input trigger coincidence window.

Returns
Width of the input coincidence window (units of 4ns), otherwise ERROR
int tiGetTrigSrcEnabledFiberMask ( )

Returns the mask of fiber channels that report a "connected" status from a TI has it's trigger source enabled.

Returns
Trigger Source Enabled Mask
int32_t tiGetTSInput ( )

Return the enable trigger inputs as a bit mask.

Returns
Enabled input mask
  • 0: TS#1
  • 1: TS#2
  • 2: TS#3
  • 3: TS#4
  • 4: TS#5
  • 5: TS#6
void tiPrintTriggerTable ( int  showbits)

Print trigger table to standard out.

Parameters
showbitsShow trigger bit pattern, instead of hex
int tiSyncResetRequestStatus ( int  pflag)

Status of SyncReset Request received bits.

Parameters
pflagPrint to standard out if not 0
Returns
Port mask of SyncReset Request received (port 1 = bit 0, TI-Master = bit 8), otherwise ERROR;