EnableNetworkCom Method - intrepidcs API
C/C++ declare -
VB declare - VB.NET declare
- C# declare - Parameters - Return
Values - Remarks - C/C++ example
- VB example - VB.NET
example - C# example
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 Long, ByVal lEnable As Long) As Long
C# Declare
[DllImport("icsneo40.dll")]
public static
extern int
icsneoEnableNetworkCom(int hObject,
int lEnable);
lEnable
[in] When 1 it will enable network receive. When 0 it will disable network receive.
This function returns the 1 when successful. 0 if otherwise.
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
'// disable network communications
Call icsneoEnableNetworkCom(m_hObject, 0)
icsneoEnableNetworkCom(m_hObject,0);
Call
icsneoEnableNetworkCom(m_hObject, 0)
C# Example
icsNeoDll.icsneoEnableNetworkCom(m_hObject,0);
| intrepidcs API Documentation - (C) Copyright 2000-2012 Intrepid Control Systems, Inc. (www.intrepidcs.com) |
Last Updated : Tuesday, September 02, 2008 Monday, January 24, 2005