Setchdeltamx100 – Yokogawa PC-Based MX100 User Manual

Page 784

Advertising
background image

17-50

IM MX190-01E

setChDELTAMX100

Syntax

int setChDELTAMX100(DAQMX100 daqmx100, int chNo, int refChNo,
int iRange);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

refChNo

Specify the reference channel using a channel number.

iRange

Specify the range type for the input of the target channel.

Description

Sets the specified channel number to difference computation.
• If the range type is set to the reference range, the measurement range of the

target channel is set to the same range as the reference channel.

• The span, scale, and alarm are set to the default values.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX100::setChDELTA

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

Advertising