[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");}
int iResult;
bool bState;
//Set the bit rate
iResult = icsNeoDll.icsneoEnableDOIPLine(m_hObject,bState);
if (iResult == 0)
{
MessageBox.Show("Problem setting DoIP Act");
}
Dim iResult As IntegerDim bState As Boolean'//Set the bit rateiResult =icsneoEnableDOIPLine(m_hObject,bState)If (iResult =0) Then MsgBox("Problem setting DoIP Act")