Setdoublescalemx100 – Yokogawa PC-Based MX100 User Manual

Page 796

Advertising
background image

17-62

IM MX190-01E

setDoubleScaleMX100

Syntax

int setDoubleScaleMX100(DAQMX100 daqmx100, int chNo, double
scaleMin, double scaleMax, int scalePoint);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

scaleMin

Specify the scale minimum.

scaleMax

Specify the scale maximum.

scalePoint

Specify the decimal point position for scaling.

Description

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

setScaleMX100 function.

• The scale 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::setScale

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

Advertising