Setoutputtypemx – Yokogawa PC-Based MX100 User Manual

Page 319

Advertising
background image

5-61

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

setOutputTypeMX

Syntax

int setOutputTypeMX(DAQMX daqmx, int iOutput, int startChNo,
int endChNo);

Declaration

Public Declare Function setOutputTypeMX Lib "DAQMX"(ByVal
daqmx As Long, ByVal iOutput As Long, ByVal startChNo As Long,
ByVal endChNo As Long) As Long

Parameters

daqmx

Specify the device descriptor.

iOutput

Specify the output type.

startChNo

Specify the start channel number.

endChNo

Specify the end channel number.

Description

Sets the output type of the output channel data.
• Each item is set to the default value.

• The settings of the corresponding channels are also changed.
• 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
CDAQMXConfig::setAO
CDAQMXConfig::setPWM

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

Advertising