2cdaqmxnetinfo::getmxnetinfo, Cdaqmxnetinfo::getpart, Cdaqmxnetinfo::getport – Yokogawa PC-Based MX100 User Manual

Page 194

Advertising
background image

2-171

IM MX190-01E

MX100 -Visual C++

2

CDAQMXNetInfo::getMXNetInfo

Syntax

void getMXNetInfo(MXNetInfo * pMXNetInfo);

Parameters

pMXNetInfo

Specify the destination where the network information data is to

be returned.

Description

Gets the data in a structure. Stores the contents of the data member in the specified

structure.

CDAQMXNetInfo::getPart

Syntax

static int getPart(unsigned int address, int index);

Parameters

address

Specify the IP address.

index

Specify the part position.

Description

Gets the byte value of the specified IP address where the address is divided at teh
specified part position.
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.

CDAQMXNetInfo::getPort

Syntax

unsigned int getPort(void);

Description

Gets the port number from the network information data field of the data member.

Return value

Returns the port number.

2.5 Details of the MX100 Class

Advertising