FreeObject 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 method releases system resources used by the neoVI device.
void _stdcall icsneoFreeObject(int hObject);
Public Declare Function icsneoFreeObject Lib "icsneo40.dll" (ByVal hObject As Long)
Visual Basic .NET Declare
Public
Declare
Function icsneoFreeObject
Lib "icsneo40.dll" (ByVal
hObject As
Int32)
C# Declare
[DllImport("icsneo40.dll")]
public
static
extern
void
icsneoFreeObject(Int32 hObject);
Parameters
hObject
[in] Specifies the driver object created by OpenNeoDevice.
None.
This method is used to release any resources that were allocated by OpenNeoDevice. Applications that create neoVI handles should release them using this method, however, the intrepidCS API will release any resources that it created for the client application when the client application ends and the API is unloaded. The LabVIEW neoClosePort.vi will call the FreeObject API.
Examples
Call icsneoFreeObject(m_hObject) '// free the memory associated with our driver object
icsneoFreeObject(hObject); //Free the memory associated with our driver object
C# Example
icsNeoDll.icsneoFreeObject(m_hObject);
//Free the memory associated with our
driver object
Visual Basic
.NET Example
Call
icsneoFreeObject(m_hObject) '//Free
the memory associated with our driver object
| intrepidcs API Documentation - (C) Copyright 2000-2009 Intrepid Control Systems, Inc. (www.intrepidcs.com) |
Last Updated : Tuesday, December 16, 2008