Yokogawa PC-Based MX100 User Manual

Page 943

Advertising
background image

17-209

IM MX190-01E

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

17

toAOPWMValueMX100

Syntax

int toAOPWMValueMX100(double realValue, int iRangeAOPWM);

Declaration

Visual Basic
Public Declare Function toAOPWMValueMX100 Lib "DAQMX100"(ByVal
realValue As Double, ByVal iRangeAOPWM As Long) As Long
Visual Basic.NET
Public Declare Ansi Function toAOPWMValueMX100 Lib
"DAQMX100"(ByVal realValue As Double, ByVal iRangeAOPWM As
Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="toAOPWMValueMX100")]
public static extern int toAOPWMValueMX100(double realValue,
int iRangeAOPWM);

Parameters

realValue

Specify the actual output value.

iRangeAOPWM

Specify the range type.

Description

Converts the actual output values to AO/PWM data output data values according to

the specified range type.
• Valid range types are AO and PWM.

• Returns 0 if it does not exist.

Return value

Returns the output data value.

Reference

CDAQMXAOPWMData::toAOPWMValue

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

Advertising