Copydomx100 – Yokogawa PC-Based MX100 User Manual

Page 750

Advertising
background image

17-16

IM MX190-01E

copyDOMX100

Syntax

int copyDOMX100(DAQMX100 daqmx100, int idDO, int idDOSrc);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

idDO

Specify the DO data identifier of the copy destination.

idDOSrc

Specify the DO data identifier of the copy source.

Description

Copies the DO data from the copy source of the specified DO 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::getClassMXDOList
CDAQMXDOList::copy

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

Advertising