beautypg.com

Setchtagmx100 – Yokogawa PC-Based MX100 User Manual

Page 788

background image

17-54

IM MX190-01E

setChTagMX100

Syntax

int setChTagMX100(DAQMX100 daqmx100, int chNo, const char *
strTag);

Declaration

Visual Basic
Public Declare Function setChTagMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByVal chNo As Long, ByVal strTag As String)
As Long
Visual Basic.NET
Public Declare Ansi Function setChTagMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal chNo As Integer,
ByVal strTag As String) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="setChTagMX100")]
public static extern int setChTagMX100(int daqmx100, int chNo,
int byte[] strTag);

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

strTag

Specify the tag.

Description

Sets the tag 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::setChTag

17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions