For the complete documentation index, see llms.txt. This page is also available as Markdown.

EnableNetworkCom Method - neoVI API

This function is deprecated. Use the EnableNetworkRXQueue method instead.

This method enables or disables all vehicle network rx data.

int _stdcall icsneoEnableNetworkCom(int hObject,int lEnable);
Public Declare Function icsneoEnableNetworkCom Lib “icsneo40.dll” (ByVal hObject As Integer, ByVal lEnable As Integer) As Integer
[DllImport(“icsneo40.dll”)] public static extern int icsneoEnableNetworkCom(int hObject, int lEnable);

Parameters

lEnable

[in] When 1 it will enable network receive. When 0 it will disable network receive.

Return Values

This function returns the 1 when successful. 0 if otherwise.

Remarks

This function will enable and disable network traffic for all client applications connected to the neoVI. The icsneoEnableNetworkRXQueue function can be used to enable and disable the receive message queue for individual applications.

Examples

icsneoEnableNetworkCom(m_hObject,0);
Call icsneoEnableNetworkCom(m_hObject, 0)
icsNeoDll.icsneoEnableNetworkCom(m_hObject,0);

Last updated