JLab Pipeline TI Library  1.0
 All Data Structures Files Functions Variables Macros Groups
TI Master specific

Functions

void tiSlaveStatus (int pflag)
 Print a summary of all fiber port connections to potential TI Slaves. More...
 
int tiClockResync ()
 Resync the 250 MHz Clock. More...
 
int tiGetSlaveBlocklevel (int port)
 Get the blocklevel of the TI-Slave on the selected port. More...
 
int tiSetBlockLevel (int blockLevel)
 Set the number of events per block. More...
 

Detailed Description

Function Documentation

int tiClockResync ( )

Resync the 250 MHz Clock.

Returns
OK if successful, ERROR otherwise

References TI_A24RegStruct::syncCommand, TI_SYNCCOMMAND_AD9510_RESYNC, TILOCK, and TIUNLOCK.

int tiGetSlaveBlocklevel ( int  port)

Get the blocklevel of the TI-Slave on the selected port.

Parameters
port
  • 1-8 - Fiber port 1-8
Returns
port blocklevel if successful, ERROR otherwise

References TI_A24RegStruct::hfbr_tiID, TI_ID_BLOCKLEVEL_MASK, TILOCK, and TIUNLOCK.

int tiSetBlockLevel ( int  blockLevel)

Set the number of events per block.

Parameters
blockLevelNumber of events per block
Returns
OK if successful, ERROR otherwise

References tiBroadcastNextBlockLevel().

Referenced by tiInit().