Setcommentmx – Yokogawa PC-Based MX100 User Manual

Page 307

Advertising
background image

5-49

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

setCommentMX

Syntax

int setCommentMX(DAQMX daqmx, const char * strComment, int
startChNo, int endChNo);

Declaration

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

Parameters

daqmx

Specify the device descriptor.

strComment

Specify the comment.

startChNo

Specify the start channel number.

endChNo

Specify the end channel number.

Description

Sets the comment 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::setComment
CDAQMXConfig::getClassMXChConfig

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

Advertising