Rockwell Automation 2706-P42_P43_P44_P72_P74_P92_P94 InView Marquee Message Display User Manual User Manual

Page 126

Advertising
background image

Publication 2706-UM016D-EN-P - March 2006

5-8 InView Control and InView Control API

Partition

Syntax

HRESULT Partition()

Parameters

None

Return Value

S_OK - Success
E_FAIL - Failure

Description

This method is used to partition the memory
in the display. A partition command will be
sent to the display address set by the
DisplayAddress property. The size of the
partitions is set to the PartitionSize property.
Both DisplayAddress and PartitionSize
should be set before calling this method.

ClearMessageQueue

Syntax

HRESULT ClearMessageQueue()

Parameters

None

Return Value

S_OK - Success
E_FAIL - Failure

Description

This method is used to clear the queue of
messages that are running on the display.
Once the queue is cleared the background
message (if any) will be displayed. The clear
message queue command will be sent to the
display address set by the DisplayAddress
property. DisplayAddress should be set
before calling this method.

ClearMemory

Syntax

HRESULT ClearMemory()

Parameters

None

Return Value

S_OK - Success
E_FAIL - Failure

Description

This method is used to reset the display and
clear its memory. After clearing memory the
display will be set to 2000 messages of 100
bytes each, and each message slot will be
set to a message of Message #n where n is
the message number. The clear memory
command will be sent to the display address
set by the DisplayAddress property.
DisplayAddress should be set before calling
this method.

DownloadMessage

Syntax

HRESULT DownloadMessage(
short nMessageNumber,
short nPriority,
short nPosition,
short nMode,
short nSpeed,
short nFont,
short nColor,
BSTR bstrBody)

Methods

InViewCtrl Methods

Properties

Description

Advertising