|
CAEN FERS Library v1.1.4
SDK for FERS systems
|
Functions | |
| int | FERS_configure (int handle, int mode) |
| Configures a FERS board. More... | |
| int | FERS_LoadConfigFile (char *filepath) |
| Loads a configuration file. More... | |
| int | FERS_SetParam (int handle, char *param_name, char *value) |
| 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) More... | |
| int | FERS_GetParam (int handle, 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. More... | |
| int FERS_configure | ( | int | handle, |
| int | mode | ||
| ) |
Configures a FERS board.
| [in] | handle | Board handle |
| [in] | mode | Configuration mode |
| int FERS_LoadConfigFile | ( | char * | filepath | ) |
Loads a configuration file.
| [in] | filepath | Path to the configuration file |
| int FERS_SetParam | ( | int | handle, |
| char * | param_name, | ||
| char * | value | ||
| ) |
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 | Value to set for the parameter |
| int FERS_GetParam | ( | int | handle, |
| 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 |