Setdoublespanmx100 – Yokogawa PC-Based MX100 User Manual

Page 797

Advertising
background image

17-63

IM MX190-01E

17

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

setDoubleSpanMX100

Syntax

int setDoubleSpanMX100(DAQMX100 daqmx100, int chNo, double
spanMin, double spanMax);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

spanMin

Specify the span minimum.

spanMax

Specify the span maximum.

Description

Sets the span to the specified channel number.
• If the differences from the specified span value are excluded, it is the same as the

setSpanMX100 function.

• The span value is specified with a floating point number including the decimal

point position.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQMX100::setSpan

17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions

Advertising