Torealvaluemx – Yokogawa PC-Based MX100 User Manual

Page 359

Advertising
background image

5-101

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

toRealValueMX

Syntax

double toRealValueMX(int iAOPWMValue, int iRangeAOPWM);

Declaration

Public Declare Function toRealValueMX Lib "DAQMX"(ByVal
iAOPWMValue As Long, ByVal iRangeAOPWM As Long) As Double

Parameters

iAOPWMValue

Specify the output data value.

iRangeAOPWM

Specify the range type.

Description

Converts the output data of AO/PWM data to actual output 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 actual output value.

Reference

CDAQMXAOPWMData::toRealValue

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

Advertising