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

Page 132

Advertising
background image

Publication 2706-UM016D-EN-P - March 2006

5-14 InView Control and InView Control API

ChangeDisplayIPAddress

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

Syntax

HRESULT ChangeDisplayIPAddress
(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
IPAddress for TCP/IP communication. The
change display IPAddress command will be
sent to the display address set by the
DisplayAddress property. DisplayAddress
should be set before calling this method.

Example

ChangeDisplayIPAddress (192.168.0.1)
Changes the display’s IPAddress to
192.168.0.1

ChangeDisplaySubnetMask

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

Syntax

HRESULT ChangeDisplaySubnetMask
(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
subnet mask for TCP/IP communication. The
change display subnet mask command will
be sent to the display address set by the
DisplayAddress property. DisplayAddress
should be set before calling this method.

Example

ChangeDisplaySubnetMask (255.255.255.0)
Changes the display’s subnet mask to
255.255.255.0.

Methods

InViewCtrl Methods

Properties

Description

Advertising