Setchcommentmx100 – Yokogawa PC-Based MX100 User Manual
Page 783

17-49
IM MX190-01E
17
Functions for the MX100 (Extended API) - Visual C/Visual Basic/Visual Basic.NET/C# -
setChCommentMX100
Syntax
int setChCommentMX100(DAQMX100 daqmx100, int chNo, const char
* strComment);
Declaration
Visual Basic
Public Declare Function setChCommentMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByVal chNo As Long, ByVal strComment As
String) As Long
Visual Basic.NET
Public Declare Ansi Function setChCommentMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal chNo As Integer,
ByVal strComment As String) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="setChCommentMX100")]
public static extern int setChCommentMX100(int daqmx100, int
chNo, byte[] strComment);
Parameters
daqmx100
Specify the device descriptor.
chNo
Specify the channel number.
strTag
Specify the comment.
Description
Sets the comment to the specified channel number.
• The specified string is, in general, an ASCII string.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQMX100::setChComment
17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions