|
fwConfigs
|
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_string 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
| _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_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_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 |
References fwPeriphAddress_get(), and fwPeriphAddressCMW_getTransformation().
| _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 |
References FW_PARAMETER_FIELD_DRIVER, and fwPeriphAddressCMW_check().
| _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 |
Referenced by fwPeriphAddressCMW_setTransformation().
| fwPeriphAddressCMW_check | ( | dyn_string | 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 ! |
References FW_PARAMETER_FIELD_ACTIVE, FW_PARAMETER_FIELD_ADDRESS, FW_PARAMETER_FIELD_COMMUNICATION, FW_PARAMETER_FIELD_DATATYPE, FW_PARAMETER_FIELD_DRIVER, FW_PARAMETER_FIELD_INTERVAL, FW_PARAMETER_FIELD_LOWLEVEL, FW_PARAMETER_FIELD_MODE, FW_PARAMETER_FIELD_NUMBER, FW_PARAMETER_FIELD_START, and FW_PARAMETER_FIELD_SUBINDEX.
Referenced by _fwPeriphAddressCMW_set().
| 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 |
Referenced by _fwPeriphAddressCMW_initPanel().
| 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 |
References _fwPeriphAddressCMW_setTransformation().