Setdeltamx – Yokogawa PC-Based MX100 User Manual

Page 312

Advertising
background image

5-54

IM MX190-01E

setDELTAMX

Syntax

int setDELTAMX(DAQMX daqmx, int refChNo, int startChNo, int
endChNo, int spanMin, int spanMax, int scaleMin, int scaleMax,
int scalePoint, int iRange);

Declaration

Public Declare Function setDELTAMX Lib "DAQMX"(ByVal daqmx As
Long, ByVal refChNo As Long, ByVal startChNo As Long, ByVal
endChNo As Long, ByVal spanMin As Long, ByVal spanMax As Long,
ByVal scaleMin As Long, ByVal scaleMax As Long, ByVal
scalePoint As Long, ByVal iRange As Long) As Long

Parameters

daqmx

Specify the device descriptor.

refChNo

Specify the reference channel using a channel number.

startChNo

Specify the start channel number.

endChNo

Specify the end channel number.

spanMin

Specify the span minimum.

spanMax

Specify the span maximum.

scaleMin

Specify the scale minimum.

scaleMax

Specify the scale maximum.

scalePoint

Specify the decimal point position for scaling.

iRange

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

Description

• Sets the specified channel range to difference computation.

• If the minimum and maximum values of the span are equal, the span is

considered to be omitted.

• If the minimum and maximum values of the scale are equal, the scale is

considered to be omitted.

• The setup data is retrieved collectively, changed, and sent collectively.
• Channels from unsupported modules are ignored.

• The alarm setting is initialized.
• If, when specifying the input range for the target channel, “Reference range” is

specified for the range type, the same range as the reference channel is used for
the measurement range of the target channel.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX::getMXConfig
CDAQMX::setMXConfig
CDAQMXConfig::setDELTA
CDAQMXConfig::setScalling

5.1 Details of Functions - MX100 (Visual C/Visual Basic) -

Advertising