edmiTypeChecking
SdaiOnOff edmiTypeChecking(SdaiOnOff OnOff);
Turns on or off the EDMinterface data type and data value checking facility. When this facility is enabled all EDMinterface put (write) operation will be checked for legal data value and legal data type to ensure that only correct data will be written to the EDMdatabase. A minor performance penalty can be expected when this facility is enabled. All EDMinterface put (write) operations will always check for correct primitive type to be written, but with the EDMinterface data type and data value checking facility enabled also typed value will be checked, check for correct instance types will be checked etc. The EDMmodelChecker must be used to make a complete check of the data in a data model in the EDMdatabase.
Arguments
Type | Name | Comment |
SdaiOnOff | OnOff The two following values can be specified:
| |
Return Value
Type | Comment |
SdaiOnOff | Returns the current status of this facility at the invocation of the operation. The returned value is of type SdaiOnOff and can have the following two values:
|
Options
Example
SdaiOnOff checkingState; . . . checkingState = edmiTypeChecking (sdaiON); . . . /* Reset EDMinterface checking state to original state */ edmiSdaiErrorsOnly(checkingState); . . .
See also
Filter by label
There are no items with the selected labels at this time.