Unitmacmx100 – Yokogawa PC-Based MX100 User Manual

Page 960

Advertising
background image

17-226

IM MX190-01E

unitMACMX100

Syntax

int unitMACMX100(DAQMX100 daqmx100, int index);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

index

Specify the byte position.

Description

Gets the byte position of the MAC address from the stored current system
configuration data.

• Returns the number of bytes of the specified byte position.
• The byte position is specified with the index value (from 0) of the specified

number of “MAC address elements.”

• Returns 0 if it does not exist.

Return value

Returns the byte value.

Reference

CDAQMX100::getClassMXItemConfig
CDAQMXItemConfig::getClassMXSysInfo
CDAQMXSysInfo::getMAC

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

Advertising