Yokogawa PC-Based MX100 User Manual

Page 847

Advertising
background image

17-113

IM MX190-01E

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

17

channelErrorChoiceMX100

Syntax

int channelErrorChoiceMX100(DAQMX100 daqmx100, int outputNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

outputNo

Specify the output channel data number.

Description

Gets selection value during error for the specified output channel data number from

the stored current channel setting data.
• If it does not exist, “Previous value” is returned.

Return value

Returns the selected value.

Reference

CDAQMX100::getClassMXItemConfig
CDAQMXItemConfig::getClassMXOutputData
CDAQMXOutputData::getErrorChoice

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

Advertising