Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
Defines whether the full range of EDMinterface error codes can be returned in an EDMinterface operation or only the error codes defined in ISO 10303-22: The Standard Data Access Interface (SDAI).
The EDMinterface defines many more error codes than the few defined in ISO 10303-22 to give more detailed and descriptive information about errors and exceptions in EDMinterface operations. This function is used to turn on or off the issuing of the EDMinterface specific error codes.
See the include file sdai.h for a detailed list of all EDMinterface error codes and corresponding error text.
Related functions: edmiGetErrorText
Header:
#include "sdai.h"
Prototype:
SdaiOnOff edmiSdaiErrorsOnly(SdaiOnOff OnOff);
Arguments:

OnOff

The two following values can be specified:
sdaiON: The EDMinterface specified error codes can be issued.
sdaiOFF: The EDMinterface specific error codes should not be issued, only the error codes defined in ISO 10303-22.

Returns:
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:
sdaiON: EDMinterface specific error codes was enabled at the invocation of the function.
sdaiOFF: EDMinterface specific error codes was disabled at the invocation of the function Arguments.
EXAMPLE
SdaiOnOff sdaiErrorsOnlyState;
. . .
sdaiErrorsOnlyState = edmiSdaiErrorsOnly(sdaiOFF);
. . .
/* Reset EDMinterface extended error code state */
edmiSdaiErrorsOnly(sdaiErrorsOnlyState);
. . .

  • No labels