RemoveModuleConfiguration
Removes the configured device.
Syntax
KsError RemoveModuleConfiguration(
int ConfigurationIndex
);
Parameters
ConfigurationIndex: the index of the configured device.
Return value
If the function succeeds, it returns errNoError
, otherwise an error code. For more information about the error code, see the KsError list.
Usable EtherCAT states
ecatOffline
Example
Copy
nRet = RemoveModuleConfiguration(0);
Requirements
RT | Win32 | |
---|---|---|
Minimum supported version | 4.0 | 4.0 |
Header | ksapi.h | ksapi.h |
Library | KsApi_Rtss.lib | KsApi.lib |
See also