Cdaqmxsysinfo::getinterval, Cdaqmxsysinfo::getitemerror, Cdaqmxsysinfo::getmac – Yokogawa PC-Based MX100 User Manual

Page 221

Advertising
background image

2-198

IM MX190-01E

CDAQMXSysInfo::getInterval

Syntax

int getInterval(int moduleNo);

Parameters

moduleNo

Specify the module number.

Description

Gets the interval type of the module corresponding to the specified module number
from the System configuration data field of the data member.

Returns 0 if it does not exist.

Return value

Returns the interval type.

Reference

getMXModuleData

CDAQMXSysInfo::getItemError

Syntax

int getItemError(void);

Description

Gets the value of the setting item number field of the data member.

Return value

Returns the setting item number.

CDAQMXSysInfo::getMAC

Syntax

unsigned char getMAC(int index);

Parameters

index

Specify the byte position.

Description

Gets the MAC address from the System configuration data field of the data member.
The address is retrieved in units of bytes. Returns 0 if the value is outside the range.

The byte position is an integer starting with 0.
There is a definition for the number of MAC address elements.

Return value

Returns the byte value.

2.5 Details of the MX100 Class

Advertising