Copytransmitmx100 – Yokogawa PC-Based MX100 User Manual

Page 751

Advertising
background image

17-17

IM MX190-01E

17

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

copyTransmitMX100

Syntax

int copyTransmitMX100(DAQMX100 daqmx100, int idTrans, int
idTransSrc);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

idTrans

Specify the transmission output data identifier of the copy

destination.

idTransSrc

Specify the transmission output data identifier of the copy source.

Description

Copies the transmission output data from the copy source of the specified
transmission output data identifier to the copy destination.

• If the copy source is set to the constant for “specify current data,” gets the current

data field from the data member.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX100::getClassMXTransmitList
CDAQMXTransmitList::copy

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

Advertising