Copyaopwmmx100 – Yokogawa PC-Based MX100 User Manual
Page 748

17-14
IM MX190-01E
copyAOPWMMX100
Syntax
int copyAOPWMMX100(DAQMX100 daqmx100, int idAOPWM, int
idAOPWMSrc);
Declaration
Visual Basic
Public Declare Function copyAOPWMMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByVal idAOPWM As Long, ByVal idAOPWMSrc As
Long) As Long
Visual Basic.NET
Public Declare Ansi Function copyAOPWMMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal idAOPWM As
Integer, ByVal idAOPWMSrc As Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="copyAOPWMMX100")]
public static extern int copyAOPWMMX100(int daqmx100, int
idAOPWM, int idAOPWMSrc);
Parameters
daqmx100
Specify the device descriptor.
idAOPWM
Specify the copy destination for the AO/PWM data identifier.
idAOPWMSrc
Specify the copy source for the AO/PWM data identifier.
Description
Copies the AO/PWM data from the copy source of the specified AO/PWM 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::getClassMXAOPWMList
CDAQMXAOPWMList::copy
17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions