Createdomx100 – Yokogawa PC-Based MX100 User Manual
Page 754
![background image](/manuals/360310/754/background.png)
17-20
IM MX190-01E
createDOMX100
Syntax
int createDOMX100(DAQMX100 daqmx100, int * errorCode);
Declaration
Visual Basic
Public Declare Function createDOMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByRef errorCode As Long) As Long
Visual Basic.NET
Public Declare Ansi Function createDOMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByRef errorCode As
Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="createDOMX100")]
public static extern int createDOMX100(int daqmx100, out int
errorCode);
Parameters
daqmx100
Specify the device descriptor.
errorCode
Specify the destination where the error number is to be returned.
Description
Creates new DO data.
• Returns the DO data identifier as a return value.
• Returns a negative number if unsuccessful.
• Stores the error number if the return destination is specified.
Return value
Returns the data identifier.
Error:
Not descriptor
No device descriptor.
Not data
Data creation failed.
Reference
CDAQMX100::getClassMXDOList
CDAQMXDOList::create
17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions