Cdaqmx::registry, Cdaqmx::resetbalance – Yokogawa PC-Based MX100 User Manual

Page 81

Advertising
background image

2-58

IM MX190-01E

CDAQMX::registry

Syntax

int registry(void);

Description

Executes a command.

This command notifies the MX100 main unit of the PC information (host name and
address).

Stores the communication packet version in the communication packet version field
of the data member.

Return value

Returns an error number.

Reference

getNo getPacketVersion getUserTime runCommand

CDAQMX::resetBalance

Syntax

int resetBalance(CDAQMXBalanceResult & cMXBalanceResult);

Parameters

cMXBalanceResult

Specify the destination where the initial balance result is to
be returned.

Description

Resets initial balancing.
Stores the reset result, initial balance result, and initial balance value in the specified
return destination.
Only channels specified as valid are reset.
The FIFO stops. If auto control is enabled, the FIFO starts after the function
completes successfully.
The response to this function may take five seconds or longer.

Return value

Returns an error number.

Reference

getNo getPacketVersion getUserTime runCommand startFIFO
stopFIFO CDAQMXBalanceResult::getBalanceValid
CDAQMXBalanceResult::setBalance CDAQMXBalanceResult::setResult

2.5 Details of the MX100 Class

Advertising