Settempunitmx – Yokogawa PC-Based MX100 User Manual

Page 337

Advertising
background image

5-79

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

setTempUnitMX

Syntax

int setTempUnitMX(DAQMX daqmx, int iTempUnit);

Declaration

Public Declare Function setTempUnitMX Lib "DAQMX"(ByVal daqmx
As Long, ByVal iTempUnit As Long) As Long

Parameters

daqmx

Specify the device descriptor.

iTempUnit

Specify the temperature unit type.

Description

Sets the temperature unit type.

• The setup data is retrieved collectively, changed, and sent collectively.
• The channel settings of the thermocouple and RTD ranges are initialized.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX::getMXConfig
CDAQMX::setMXConfig
CDAQMXConfig::setTempUnit

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

Advertising