Createtransmitmx100 – Yokogawa PC-Based MX100 User Manual

Page 755

Advertising
background image

17-21

IM MX190-01E

17

Functions for the MX100 (Extended API) - Visual C/Visual Basic/Visual Basic.NET/C# -

createTransmitMX100

Syntax

int createTransmitMX100(DAQMX100 daqmx100, int * errCode);

Declaration

Visual Basic
Public Declare Function createTransmitMX100 Lib
"DAQMX100"(ByVal daqmx100 As Long, ByRef errCode As Long) As
Long
Visual Basic.NET
Public Declare Ansi Function createTransmitMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByRef errCode As
Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="createTransmitMX100")]
public static extern int createTransmitMX100(int daqmx100, out
int errCode);

Parameters

daqmx100

Specify the device descriptor.

errorCode

Specify the destination where the error number is to be returned.

Description

Creates new transmission output data.

• Returns the transmission output 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::getClassMXTransmitList
CDAQMXTransmitList::create

17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions

Advertising