Yokogawa PC-Based MX100 User Manual
Page 857
![background image](/manuals/360310/857/background.png)
17-123
IM MX190-01E
Functions for the MX100 (Extended API) - Visual C/Visual Basic/Visual Basic.NET/C# -
17
channelPresetValueMX100
Syntax
int channelPresetValueMX100(DAQMX100 daqmx100, int outputNo);
Declaration
Visual Basic
Public Declare Function channelPresetValueMX100 Lib
"DAQMX100"(ByVal daqmx100 As Long, ByVal outputNo As Long) As
Long
Visual Basic.NET
Public Declare Ansi Function channelPresetValueMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal outputNo As
Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="channelPresetValueMX100")]
public static extern int channelPresetValueMX100(int daqmx100,
int outputNo);
Parameters
daqmx100
Specify the device descriptor.
outputNo
Specify the output channel data number.
Description
Gets the user specified output value for the specified output channel data number
from the stored current channel setting data.
• The return value is an integer excluding the decimal point position.
• Returns 0 if it does not exist.
Return value
Returns the user specified output value.
Reference
CDAQMX100::getClassMXItemConfig
CDAQMXItemConfig::getClassMXOutputData
CDAQMXOutputData::getPresetValue
17.2 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions