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

Page 133

Advertising
background image

Publication 2706-UM016D-EN-P - March 2006

InView Control and InView Control API 5-15

ChangeDisplayGateway

This method is only recognized by the P9x
series of displays.

Syntax

HRESULT ChangeDisplayGateway
(BSTR ipaddress)

Parameters

ipaddress
An IPAddress string with the syntax of
NNN>NNN>NNN>NNN, where each octet
is between 0 and 255.

Return Value

S_OK - Success
E_FAIL - Failure

Description

This method is used to change the display’s
gateway for TCP/IP communication. The
change display gateway command will be
sent to the display address set by the
DisplayAddress property. DisplayAddress
should be set before calling this method.

Example

ChangeDisplayGateway (192.168.0.1)
Changes the display’s gateway to
192.168.0.1.

ClearBitmapTable

This method is only recognized by the P9x
series of displays.

Syntax

HRESULT ClearBitmapTable()

Parameters

None

Return Value

S_OK - Success
E_FAIL - Failure

Description

This method is used to clear the contents of
the display’s bitmap table. The clear bitmap
table command will be sent to the display
address set by the DisplayAddress property.
DisplayAddress should be set before calling
this method.

Example

ClearBitmapTable()
Clears the bitmap table for the display with
the display address set through the
DisplayAddress property.

Methods

InViewCtrl Methods

Properties

Description

Advertising