Cdaqmxsegment::operator, Cdaqmxsegment::setmxsegment, Cdaqmxsegment::setpattern – Yokogawa PC-Based MX100 User Manual

Page 207

Advertising
background image

2-184

IM MX190-01E

CDAQMXSegment::operator=

Syntax

CDAQMXSegment & operator=(CDAQMXSegment & cMXSegment);

Parameters

cMXSegment

Specify an object for substitution.

Description

Copies the data member of the specified object.

Return value

Returns the reference to the object.

CDAQMXSegment::setMXSegment

Syntax

void setMXSegment(MXSegment * pMXSegment);

Parameters

pMXSegment

Specify the 7-segment LED.

Description

Sets the data in a structure. Stores the contents of the specified structure in the data

member.
If not specified, the data member is initialized.

Reference

initialize

CDAQMXSegment::setPattern

Syntax

void setPattern(int segmentNo, int pattern);

Parameters

segmentNoSpecify the segment number.
pattern

Specify the display pattern.

Description

Stores the specified value to the field indicated by the specified segment number in
the 7-segment LED field of the data member.

If the constant for “Specify all segment numbers” is specified for the segment
number, the value is stored for all 7-segment LEDs.

2.5 Details of the MX100 Class

Advertising