Toitemnomx100 – Yokogawa PC-Based MX100 User Manual

Page 950

Advertising
background image

17-216

IM MX190-01E

toItemNoMX100

Syntax

int toItemNoMX100(const char * strItem);

Declaration

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

Parameters

strItem

Gets the name string corresponding to the setup item number.

Description

Gets the setup item number corresponding to the specified string.
• It is case-sensitive.

• The specified string is, in general, an ASCII string.
• If it does not exist, “Unknown” is returned.

Return value

Returns the setting item number.

Reference

CDAQMXItemConfig::toItemNo

17.2 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions

Advertising