EnableDOIPLine Method - neoVI API

This method enables or disables the Ethernet activation line on supported hardware devices.

int _stdcall icsneoEnableDOIPLine(void* hObject, bool bActivate);

Parameters

hObject

[in] Specifies the driver object created by OpenNeoDevice

bActivate

[in] Specifies the state of the Activation line. True enables the activation and False disabled it.

Return Values

1 if the function succeeded. 0 if it failed for any reason. GetLastAPIError must be called to obtain the specific error.

Remarks

The specified hardware must support a DoIP activation line

Examples

int iRetVal;
bool bState;

bState = true;
iRetVal = icsneoEnableDOIPLine(hObject,bState);
if(iRetVal == 0)
{
    printf("\nFailed to set DoIP Act");
}
else
{
    printf("\nSuccessfully set DoIP Act");
}

Last updated