beautypg.com

Yokogawa PC-Based MX100 User Manual

Page 967

background image

17-233

IM MX190-01E

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

17

userAOPWMValueMX100

Syntax

int userAOPWMValueMX100(DAQMX100 daqmx100, int idAOPWM, int
aopwmNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

idAOPWM

Specify the AO/PWM data identifier.

aopwmNo

Specify the AO/PWM data number.

Description

Gets the output data value of the specified AO/PWM data number from the AO/

PWM data of the specified AO/PWM data identifier.
• Returns 0 if it does not exist.

Return value

Returns the output data value.

Reference

CDAQMX100::getClassMXAOPWMList
CDAQMXAOPWMData::getAOPWMValue
CDAQMXAOPWMList::getClassMXAOPWMData

17.2 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions