FreeObject Method - intrepidcs API
C/C++ declare -
C# declare - Parameters - Return
Values - Remarks - C/C++ example
- VB.NET example - C# example
This method releases system resources used by the neoVI device.
void _stdcall icsneoFreeObject(void * hObject);
Visual Basic .NET Declare
Public
Declare
Function icsneoFreeObject
Lib "icsneo40.dll" (ByVal
hObject As
IntPtr)
C# Declare
[DllImport("icsneo40.dll")]
public
static
extern
void
icsneoFreeObject(IntPtr 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
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-2022 Intrepid Control Systems, Inc. (www.intrepidcs.com) |
Last Updated : Friday, June 30, 2017