Read and writes both channel-level and module-level DSP settings.
More...
#include <CPixieDSPUtilities.h>
|
int | AdjustOffsets (int module) |
| Adjust DC offsets of all channels for a single module. More...
|
|
int | WriteChanPar (int module, int channel, char *paramName, double value) |
| Write a channel parameter for a single channel. More...
|
|
int | ReadChanPar (int module, int channel, char *paramName, double &value) |
| Read a channel parameter for a single channel. More...
|
|
int | WriteModPar (int module, char *paramName, unsigned int value) |
| Write a module parameter for a single module. More...
|
|
int | ReadModPar (int module, char *paramName, unsigned int &value) |
| Read a module parameter for a single module. More...
|
|
Read and writes both channel-level and module-level DSP settings.
The class also contains a function to adjust the DC offsets on a single module, as the DC offset is itself a channel parameter.
◆ AdjustOffsets()
int CPixieDSPUtilities::AdjustOffsets |
( |
int |
module | ) |
|
Adjust DC offsets of all channels for a single module.
- Parameters
-
- Returns
- int
- Return values
-
0 | Success. |
!=0 | XIA API error code. |
◆ ReadChanPar()
int CPixieDSPUtilities::ReadChanPar |
( |
int |
module, |
|
|
int |
channel, |
|
|
char * |
paramName, |
|
|
double & |
value |
|
) |
| |
Read a channel parameter for a single channel.
- Parameters
-
[in] | module | Module number. |
[in] | channel | Channel number on module. |
[in] | paramName | XIA API channel parameter name. |
[in,out] | value | Reference to read parameter value. |
- Returns
- int
- Return values
-
0 | Success. |
!=0 | XIA API error code. |
Channel parameters are doubles. For a list of parameters and their units, see the Pixie-16 Programmers Manual, pgs. 60-61.
◆ ReadModPar()
int CPixieDSPUtilities::ReadModPar |
( |
int |
module, |
|
|
char * |
paramName, |
|
|
unsigned int & |
value |
|
) |
| |
Read a module parameter for a single module.
- Parameters
-
[in] | module | Module number. |
[in] | paramName | XIA API chanel parameter name. |
[in,out] | value | Reference to read parameter value. |
- Returns
- int
- Return values
-
0 | Success. |
!=0 | XIA API error code. |
Module parameters are unsigned ints. For a list of parameters and their units, see the Pixie-16 Programmers Manual, pgs. 62-63.
◆ WriteChanPar()
int CPixieDSPUtilities::WriteChanPar |
( |
int |
module, |
|
|
int |
channel, |
|
|
char * |
paramName, |
|
|
double |
value |
|
) |
| |
Write a channel parameter for a single channel.
- Parameters
-
module | Module number. |
channel | Channel number on module. |
paramName | XIA API chanel parameter name. |
value | Parameter value to write. |
- Returns
- int
- Return values
-
0 | Success. |
!=0 | XIA API error code. |
Channel parameters are doubles. For a list of parameters and their units, see the Pixie-16 Programmers Manual, pgs. 60-61.
◆ WriteModPar()
int CPixieDSPUtilities::WriteModPar |
( |
int |
module, |
|
|
char * |
paramName, |
|
|
unsigned int |
value |
|
) |
| |
Write a module parameter for a single module.
- Parameters
-
module | Module number. |
paramName | XIA API chanel parameter name. |
value | Parameter value to write. |
- Returns
- int
- Return values
-
0 | Success. |
!=0 | XIA API error code. |
Module parameters are unsigned ints. For a list of parameters and their units, see the Pixie-16 Programmers Manual, pgs. 62-63.
The documentation for this class was generated from the following files: