NSCL DDAS 12.2-009
Support for XIA DDAS at FRIB
Functions
CPixieSystemUtilities.cpp File Reference

Implementation the Pixie DAQ system utilities class. More...

#include "CPixieSystemUtilities.h"
#include <iostream>
#include <sstream>
#include <config.h>
#include <config_pixie16api.h>
#include <CXIAException.h>
#include <SystemBooter.h>
#include <string>
#include "CPixieErrors.h"
#include "CPixieShimGuard.h"
Include dependency graph for CPixieSystemUtilities.cpp:

Functions

CPixieSystemUtilitiesCPixieSystemUtilities_new ()
 Wrapper for the class constructor. More...
 
int CPixieSystemUtilities_Boot (CPixieSystemUtilities *utils)
 Wrapper to boot the crate. More...
 
int CPixieSystemUtilities_SaveSetFile (CPixieSystemUtilities *utils, char *fName)
 Wrapper to save a settings file. More...
 
int CPixieSystemUtilities_LoadSetFile (CPixieSystemUtilities *utils, char *fName)
 Wrapper to load a settings file. More...
 
int CPixieSystemUtilities_ExitSystem (CPixieSystemUtilities *utils)
 Wrapper to exit the system file. More...
 
void CPixieSystemUtilities_SetBootMode (CPixieSystemUtilities *utils, int mode)
 Wrapper to set the boot mode. More...
 
int CPixieSystemUtilities_GetBootMode (CPixieSystemUtilities *utils)
 Wrapper to get the boot mode. More...
 
bool CPixieSystemUtilities_GetBootStatus (CPixieSystemUtilities *utils)
 Wrapper to get the boot status. More...
 
int CPixieSystemUtilities_GetNumModules (CPixieSystemUtilities *utils)
 Wrapper to get the number of modules. More...
 
int CPixieSystemUtilities_GetModuleMSPS (CPixieSystemUtilities *utils, int mod)
 Wrapper to get a single module ADC MSPS from the HW map. More...
 
int CPixieSystemUtilities_GetModuleChannelCount (CPixieSystemUtilities *utils, int mod)
 Wrapper to get the channel count for a single module. More...
 
const char * CPixieSystemUtilities_GetLastErrorMessage (CPixieSystemUtilities *utils)
 Wrapper to get the last error message. Cannot throw; unguarded. More...
 
void CPixieSystemUtilities_delete (CPixieSystemUtilities *utils)
 Wrapper for the class destructor. More...
 

Detailed Description

Implementation the Pixie DAQ system utilities class.

Function Documentation

◆ CPixieSystemUtilities_Boot()

int CPixieSystemUtilities_Boot ( CPixieSystemUtilities utils)

Wrapper to boot the crate.

◆ CPixieSystemUtilities_delete()

void CPixieSystemUtilities_delete ( CPixieSystemUtilities utils)

Wrapper for the class destructor.

◆ CPixieSystemUtilities_ExitSystem()

int CPixieSystemUtilities_ExitSystem ( CPixieSystemUtilities utils)

Wrapper to exit the system file.

◆ CPixieSystemUtilities_GetBootMode()

int CPixieSystemUtilities_GetBootMode ( CPixieSystemUtilities utils)

Wrapper to get the boot mode.

◆ CPixieSystemUtilities_GetBootStatus()

bool CPixieSystemUtilities_GetBootStatus ( CPixieSystemUtilities utils)

Wrapper to get the boot status.

◆ CPixieSystemUtilities_GetLastErrorMessage()

const char * CPixieSystemUtilities_GetLastErrorMessage ( CPixieSystemUtilities utils)

Wrapper to get the last error message. Cannot throw; unguarded.

◆ CPixieSystemUtilities_GetModuleChannelCount()

int CPixieSystemUtilities_GetModuleChannelCount ( CPixieSystemUtilities utils,
int  mod 
)

Wrapper to get the channel count for a single module.

◆ CPixieSystemUtilities_GetModuleMSPS()

int CPixieSystemUtilities_GetModuleMSPS ( CPixieSystemUtilities utils,
int  mod 
)

Wrapper to get a single module ADC MSPS from the HW map.

◆ CPixieSystemUtilities_GetNumModules()

int CPixieSystemUtilities_GetNumModules ( CPixieSystemUtilities utils)

Wrapper to get the number of modules.

◆ CPixieSystemUtilities_LoadSetFile()

int CPixieSystemUtilities_LoadSetFile ( CPixieSystemUtilities utils,
char *  fName 
)

Wrapper to load a settings file.

◆ CPixieSystemUtilities_new()

CPixieSystemUtilities * CPixieSystemUtilities_new ( )

Wrapper for the class constructor.

◆ CPixieSystemUtilities_SaveSetFile()

int CPixieSystemUtilities_SaveSetFile ( CPixieSystemUtilities utils,
char *  fName 
)

Wrapper to save a settings file.

◆ CPixieSystemUtilities_SetBootMode()

void CPixieSystemUtilities_SetBootMode ( CPixieSystemUtilities utils,
int  mode 
)

Wrapper to set the boot mode.