EnableDOIPLine Method - neoVI API
int _stdcall icsneoEnableDOIPLine(void* hObject, bool bActivate);Public Declare Function icsneoEnableDOIPLine Lib “icsneo40.dll” (ByVal hObject As IntPtr, ByVal bActivate As Boolean) As Int32[DllImport(“icsneo40.dll”)] public static extern Int32 icsneoEnableDOIPLine(IntPtr hObject, bool bActivate);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");
}Last updated