Setrangeda100 – Yokogawa PC-Based MX100 User Manual

Page 1115

Advertising
background image

24-24

IM MX190-01E

setRangeDA100

Syntax

int setRangeDA100(DAQDA100 daqda100, int chType, int chNo, int
iRange, int spanMin, int spanMax, int scaleMin, int scaleMax,
int scalePoint, int bFilter, int iItem, int iWire);

Declaration

Visual Basic
Public Declare Function setRangeDA100 Lib "DAQDA100"(ByVal
daqda100 As Long, ByVal chType As Long, ByVal chNo As Long,
ByVal iRange As Long, ByVal spanMin As Long, ByVal spanMax As
Long, ByVal scaleMin As Long, ByVal scaleMax As Long, ByVal
scalePoint As Long, ByVal bFilter As Long, ByVal iItem As
Long, ByVal iWire As Long) As Long
Visual Basic.NET
Public Declare Ansi Function setRangeDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal chType As Integer,
ByVal chNo As Integer, ByVal iRange As Integer, ByVal spanMin
As Integer, ByVal spanMax As Integer, ByVal scaleMin As
Integer, ByVal scaleMax As Integer, ByVal scalePoint As
Integer, ByVal bFilter As Integer, ByVal iItem As Integer,
ByVal iWire As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="setRangeDA100")]
public static extern int setRangeDA100(int daqda100, int
chType, int chNo, int iRange, int spanMin, int spanMax, int
scaleMin, int scaleMax, int scalePoint, int bFilter, int
iItem, int iWire);

Parameters

daqda100

Specify the device descriptor.

chType

Specify the channel type.

chNo

Specify the channel number.

iRange

Specify the range type.

spanMin

Specify the left value of the span.

spanMax

Specify the right value of the span.

scaleMin

Specify the left value of the scale.

scaleMax

Specify the right value of the scale.

scalePoint

Specify the decimal point position for scaling.

bFilter

Specify a filter using a Boolean value.

iItem

Specify the power measurement parameter.

iWire

Specify the power connection method.

24.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions

Advertising