|
CAEN FERS Library v1.3.0
SDK for FERS systems
|
Functions | |
| int | FERS_configure (int handle, int mode) |
| Configures a FERS board. | |
| int | FERS_LoadConfigFile (char *filepath) |
| Loads a configuration file. | |
| int | FERS_SetParam (int handle, const char *param_name, const char *value_original) |
| Set a parameter by name. The function assigns the value to the relevant parameter in the FERScfg struct, but it doesn't actually write it into the board (this is done by the "FERS_configure" function) | |
| int | FERS_GetParam (int handle, const char *param_name, char *value) |
| Get the value of a parameter. The function reads the value from the relevant parameter in the FERScfg struct, but it doesn't actually read it from the board. | |
| int FERS_configure | ( | int | handle, |
| int | mode ) |
Configures a FERS board.
| [in] | handle | Board handle |
| [in] | mode | Configuration mode, as in Configuration Modes |
| int FERS_LoadConfigFile | ( | char * | filepath | ) |
Loads a configuration file.
| [in] | filepath | Path to the configuration file |
| int FERS_SetParam | ( | int | handle, |
| const char * | param_name, | ||
| const char * | value_original ) |
Set a parameter by name. The function assigns the value to the relevant parameter in the FERScfg struct, but it doesn't actually write it into the board (this is done by the "FERS_configure" function)
| [in] | handle | Board handle |
| [in] | param_name | Name of the parameter to set |
| [in] | value_original | Value to set for the parameter |
| int FERS_GetParam | ( | int | handle, |
| const char * | param_name, | ||
| char * | value ) |
Get the value of a parameter. The function reads the value from the relevant parameter in the FERScfg struct, but it doesn't actually read it from the board.
| [out] | value | Pointer to the value of the parameter |
| [in] | handle | Board handle |
| [in] | param_name | Name of the parameter to get |