Setrangemx100 – Yokogawa PC-Based MX100 User Manual

Page 806

Advertising
background image

17-72

IM MX190-01E

setRangeMX100

Syntax

int setRangeMX100(DAQMX100 daqmx100, int chNo, int iRange);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

iRange

Specify the range type.

Description

Sets the range on the specified channel number.
• The specified channel name setting item is initialized to the default value.

• Data created with data manipulation is not changed.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQMX100::setRange

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

Advertising