Addresspartmx100 – Yokogawa PC-Based MX100 User Manual

Page 826

Advertising
background image

17-92

IM MX190-01E

addressPartMX100

Syntax

int addressPartMX100(unsigned int address, int index);

Declaration

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

Parameters

address

Specify the IP address.

index

Specify the position of the part.

Description

Gets the byte value of the portion of the specified IP address.

• Returns the byte value of the specified part position.
• The part position is specified with the index value (starting from 0) in units of

bytes. The range is from 0 to 3.

• Returns 0 if it does not exist.

Return value

Returns the byte value.

Reference

CDAQMXNetInfo::getPart

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

Advertising