Toaopwmvaluemx – Yokogawa PC-Based MX100 User Manual

Page 355

Advertising
background image

5-97

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

toAOPWMValueMX

Syntax

int toAOPWMValueMX(double realValue, int iRangeAOPWM);

Declaration

Public Declare Function toAOPWMValueMX Lib "DAQMX"(ByVal
realValue As Double, ByVal iRangeAOPWM As Long) As Long

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 the value is unknown.

Return value

Returns the output data value.

Reference

CDAQMXAOPWMData::toAOPWMValue

5.1 Details of Functions - MX100 (Visual C/Visual Basic) -

Advertising