#include <TmsC.h>
Inheritance diagram for Tms::PuControl:
Public Member Functions | |
PuControl (BString name="") | |
BError | getVersion (BString &version) |
Gets the software version. | |
BError | init () |
Initialises the system including loading all of the PUPE engines firmware. The call will return an error object indicating success or an error condition as appropriate. | |
BError | configure (ConfigInfo configInfo) |
Configure the system for use. This includes mapping the individual physical PickUp channels to logical pickup channels. | |
BError | test (BList< BError > &errors) |
Performs a basic test of the system returning a list of errors. The call will return an error object indicating success or an error condition as appropriate. | |
BError | getStatus (BList< NameValue > &statusList) |
Returns the current status of the system. This information includes the number of PickUp present and their individual status. | |
BError | getStatistics (BList< NameValue > &statsList) |
Returns a list of the statistic values as name/value pairs. The call will return an error object indicating success or an error condition as appropriate. | |
BError | setTestMode (PuChannel puChannel, UInt32 testOutput, UInt32 timingDisableMask) |
The signal source for the digital test output connector. 0: None, 1: FrefLocal. The timingDisableMask bit mask defines which of the timing inputs should be disabled. If a timing input is disabled it can be still operated by software command. | |
BError | setTimingSignals (PuChannel puChannel, UInt32 timingSignals) |
This function sets the given timing signals to the values as defined in the timingSignals bit array. | |
BError | captureTestData (PuChannel puChannel, TestCaptureInfo captureInfo, BArray< UInt64 > &data) |
This function will capture test data. | |
BError | setTestData (PuChannel puChannel, Int32 on, BArray< UInt32 > data) |
This function will set a PU channel to sample data from memory rather than the ADC's. | |
BError | setPupeConfig (PuChannel puPhysChannel, PupeConfig pupeConfig) |
Sets special PUPE configuration for test purposes. | |
BError | getPupeConfig (PuChannel puPhysChannel, PupeConfig &pupeConfig) |
Gets special PUPE configuration for test purposes. |
This class stores a Physical Pick-Up channel id This class stores the status of an individual Pick-Up This class describes the configuration of the TMS This class defines the data to be acquired and/or fetched This is the definition of a single data value This class stores the raw data This class defines the Pick-Up state table This class defines the parameters for a PS processing cycle
Tms::PuControl::PuControl | ( | BString | name = "" |
) |
BError Tms::PuControl::init | ( | ) |
Initialises the system including loading all of the PUPE engines firmware. The call will return an error object indicating success or an error condition as appropriate.
BError Tms::PuControl::configure | ( | ConfigInfo | configInfo | ) |
Configure the system for use. This includes mapping the individual physical PickUp channels to logical pickup channels.
Performs a basic test of the system returning a list of errors. The call will return an error object indicating success or an error condition as appropriate.
Returns the current status of the system. This information includes the number of PickUp present and their individual status.
Returns a list of the statistic values as name/value pairs. The call will return an error object indicating success or an error condition as appropriate.
BError Tms::PuControl::setTestMode | ( | PuChannel | puChannel, | |
UInt32 | testOutput, | |||
UInt32 | timingDisableMask | |||
) |
The signal source for the digital test output connector. 0: None, 1: FrefLocal. The timingDisableMask bit mask defines which of the timing inputs should be disabled. If a timing input is disabled it can be still operated by software command.
This function sets the given timing signals to the values as defined in the timingSignals bit array.
BError Tms::PuControl::captureTestData | ( | PuChannel | puChannel, | |
TestCaptureInfo | captureInfo, | |||
BArray< UInt64 > & | data | |||
) |
This function will capture test data.
This function will set a PU channel to sample data from memory rather than the ADC's.
BError Tms::PuControl::setPupeConfig | ( | PuChannel | puPhysChannel, | |
PupeConfig | pupeConfig | |||
) |
Sets special PUPE configuration for test purposes.
BError Tms::PuControl::getPupeConfig | ( | PuChannel | puPhysChannel, | |
PupeConfig & | pupeConfig | |||
) |
Gets special PUPE configuration for test purposes.