Setscallingunitmx – Yokogawa PC-Based MX100 User Manual

Page 329

Advertising
background image

5-71

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

setScallingUnitMX

Syntax

int setScallingUnitMX(DAQMX daqmx, const char * strUnit, int
startChNo, int endChNo);

Declaration

Public Declare Function setScallingUnitMX Lib "DAQMX"(ByVal
daqmx As Long, ByVal strUnit As String, ByVal startChNo As
Long, ByVal endChNo As Long) As Long

Parameters

daqmx

Specify the device descriptor.

strUnit

Specify the unit name.

startChNo

Specify the start channel number.

endChNo

Specify the end channel number.

Description

Sets the unit name to the specified channel range.
• The setup data is retrieved collectively, changed, and sent collectively.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX::getMXConfig
CDAQMX::setMXConfig
CDAQMXChConfig::setUnit
CDAQMXConfig::getClassMXChConfig

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

Advertising