Yokogawa PC-Based MX100 User Manual

Page 845

Advertising
background image

17-111

IM MX190-01E

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

17

channelDoubleSpanMaxMX100

Syntax

double channelDoubleSpanMaxMX100(DAQMX100 daqmx100, int chNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

Description

Gets the specified channel number and span maximum value from the stored

current channel setting data.
• The return value is a floating point number including the decimal point position.

• Returns 0.0 if it does not exist.

Return value

Returns the span maximum.

Reference

CDAQMX100::getClassMXItemConfig
CDAQMXItemConfig::getDoubleSpanMax

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

Advertising