7cdaqdarwinsysinfo::getmodulecode, Cdaqdarwinsysinfo::getmodulename, Cdaqdarwinsysinfo::initdarwinsysteminfo – Yokogawa PC-Based MX100 User Manual

Page 471

Advertising
background image

7-73

IM MX190-01E

DARWIN - Visual C++ -

7

CDAQDARWINSysInfo::getModuleCode

Syntax

int getModuleCode(int unitNo, int slotNo);

Parameters

unitNo

Specify the unit number.

slotNo

Specify the slot number.

Description

Gets the structure of the specified module internal code structure from the System

configuration data field of the data member. Returns 0 if it does not exist.

Return value

Returns the internal code.

Reference

getDarwinModuleInfo

CDAQDARWINSysInfo::getModuleName

Syntax

const char * getModuleName(int unitNo, int slotNo);

Parameters

unitNo

Specify the unit number.

slotNo

Specify the slot number.

Description

Gets the name of the specified module from the data member.

Returns NULL if it does not exist.

Return value

Returns a pointer to the string.

Reference

getDarwinModuleInfo

CDAQDARWINSysInfo::initDarwinSystemInfo

Syntax

static void initDarwinSystemInfo(DarwinSystemInfo *
pDarwinSystemInfo);

Parameters

pDarwinSystemInfo

Specify the system configuration data field.

Description

Initializes the specified field.
The default value as a general rule is 0.

7.4 Details of the DARWIN Class

Advertising