Owner manual

17-9
IM MX190-01E
17
Functions for the MX100 (Extended API) - Visual C/Visual Basic/Visual Basic.NET/C# -
closeMX100
Syntax
int closeMX100(DAQMX100 daqmx100);
Declaration
Visual Basic
Public Declare Function closeMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long) As Long
Visual Basic.NET
Public Declare Ansi Function closeMX100 Lib "DAQMX100"(ByVal
daqmx100 As Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="closeMX100")]
public static extern int closeMX100(int daqmx100);
Parameters
daqmx100 Specify the device descriptor.
Description
Disconnects the communication using the specified device descriptor.
When the communication is disconnected, the value of the device descriptor is
meaningless.
After disconnection, do not use the value of the device descriptor.
Return value
Returns an error number.
Error:
Not descriptor No device descriptor.
Reference
CDAQMX100::close
17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions