Yokogawa PC-Based MX100 User Manual
Page 953
![background image](/manuals/360310/953/background.png)
17-219
IM MX190-01E
Functions for the MX100 (Extended API) - Visual C/Visual Basic/Visual Basic.NET/C# -
17
toRealValueMX100
Syntax
double toRealValueMX100(int iAOPWMValue, int iRangeAOPWM);
Declaration
Visual Basic
Public Declare Function toRealValueMX100 Lib "DAQMX100"(ByVal
iAOPWMValue As Long, ByVal iRangeAOPWM As Long) As Double
Visual Basic.NET
Public Declare Ansi Function toRealValueMX100 Lib
"DAQMX100"(ByVal iAOPWMValue As Integer, ByVal iRangeAOPWM As
Integer) As Double
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="toRealValueMX100")]
public static extern double toRealValueMX100(int iAOPWMValue,
int iRangeAOPWM);
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.0 if it does not exist.
Return value
Returns the actual output value.
Reference
CDAQMXAOPWMData::toRealValue
17.2 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions