fwConfigs
8.4.5
|
Functions | |
_fwPeriphAddressCMW_set (string dpe, dyn_anytype addressConfig, dyn_string &exceptionInfo) | |
_fwPeriphAddressCMW_get (string dpe, dyn_anytype &addressConfig, bool &isActive, dyn_string &exceptionInfo) | |
_fwPeriphAddressCMW_delete (string dpe, dyn_string &exceptionInfo) | |
_fwPeriphAddressCMW_initPanel (string dpe, dyn_string &exceptionInfo) | |
fwPeriphAddressCMW_check (dyn_anytype dsParameters, dyn_string &exceptionInfo) | |
fwPeriphAddressCMW_getTransformation (int cmw_direction, int iCmw_trans, string dpe) | |
fwPeriphAddressCMW_setTransformation (int &cmw_direction, int &cmw_mode, int &cmw_trans, bool &cmw_lowlevel, string dpe) | |
_fwPeriphAddressCMW_setTransformation (bool bMonitorOn, int &cmw_direction, int &cmw_mode, int &cmw_trans, bool &cmw_lowlevel, string dpe) | |
This library contains function associated with CMW addressing. Functions are provided to set, get and delete the addressing for a dpe
19/01/2017: Jean-Charles Tournier
08/01/2014: Marco Boccioli
28/05/2008: Herve
_fwPeriphAddressCMW_set | ( | string | dpe, |
dyn_anytype | addressConfig, | ||
dyn_string & | exceptionInfo | ||
) |
Set the CMW addressing
Note: This function should not be called directly. Call the fwPeriphAddress_set instead.
dpe | input, data point element to configure |
addressConfig | input, object containing address configuration details |
exceptionInfo | output, details of any exceptions are returned here |
_fwPeriphAddressCMW_get | ( | string | dpe, |
dyn_anytype & | addressConfig, | ||
bool & | isActive, | ||
dyn_string & | exceptionInfo | ||
) |
Get the CMW addressing
Note: This function should not be called directly. Call the fwPeriphAddress_get instead.
dpe | input, data point element to read |
addressConfig | output, object containing address configuration details |
isActive | output, TRUE is addressing is active, else FALSE |
exceptionInfo | output, details of any exceptions are returned here |
_fwPeriphAddressCMW_delete | ( | string | dpe, |
dyn_string & | exceptionInfo | ||
) |
Delete the CMW addressing
Note: This function should not be called directly. Call the fwPeriphAddress_delete instead.
dpe | input, data point element to configure |
exceptionInfo | output, details of any exceptions are returned here |
_fwPeriphAddressCMW_initPanel | ( | string | dpe, |
dyn_string & | exceptionInfo | ||
) |
Initialise the graphics of the address panel symbol.
Note: This function should only be called from fwPeriphAddres.pnl.
dpe | input, data point element to configure |
exceptionInfo | output, details of any exceptions are returned here |
fwPeriphAddressCMW_check | ( | dyn_anytype | dsParameters, |
dyn_string & | exceptionInfo | ||
) |
Check if data is Ok to set a CMW address
dsParameters | parameters used to set the _address config (see constants definition) |
exceptionInfo | for any error. If a parameter is incorrect, exceptionInfo is not empty ! |
fwPeriphAddressCMW_getTransformation | ( | int | cmw_direction, |
int | iCmw_trans, | ||
string | dpe | ||
) |
Calculate the transformation of CMW address
cmw_direction | input, value used to know the direction of the driver |
iCmw_trans | input, driver type tranformation |
dpe | input, data point element to configure |
fwPeriphAddressCMW_setTransformation | ( | int & | cmw_direction, |
int & | cmw_mode, | ||
int & | cmw_trans, | ||
bool & | cmw_lowlevel, | ||
string | dpe | ||
) |
Set the transformation of CMW address
cmw_direction | output, direction of the driver |
cmw_mode | output, Receive mode |
cmw_trans | output, driver type tranformation |
cmw_lowlevel | output, is the low level comparison set ? |
dpe | input, data point element to configure |
_fwPeriphAddressCMW_setTransformation | ( | bool | bMonitorOn, |
int & | cmw_direction, | ||
int & | cmw_mode, | ||
int & | cmw_trans, | ||
bool & | cmw_lowlevel, | ||
string | dpe | ||
) |
Set the transformation of CMW address
bMonitorOn | input, true=monitorOn/false=no monitorOn |
cmw_direction | output, direction of the driver |
cmw_mode | output, Receive mode |
cmw_trans | output, driver type tranformation |
cmw_lowlevel | output, is the low level comparison set ? |
dpe | input, data point element to configure |