Spectrum Controls InView Series User Manual page 121

Message displays
Table of Contents

Advertisement

InViewCtrl Methods
ChangeDisplayBaudRate
This method is only
recognized by the P9x series of
displays.
ChangeDisplayIPAddress
This method is only
recognized by the P9x series of
displays.
Chapter 5: InView Control and InView Control API
Properties
Description
Syntax
HRESULT ChangeDisplayBaudRate
short nNewDisplayBaudRate)
Parameters
nNewDisplayBaudRate
An enumerated value of the currently available
baud rates. 0 = 9600 baud,
1 = 19200 baud, and 2 = 38400 baud.
Return Value
S_OK - Success
E_FAIL - Failure
This method is used to change the display's baud
Description
rate for communication transmissions. The change
display baud rate command will be sent to the
display address set by the DisplayAddress
property. DisplayAddress should be set before
calling this method.
Example
ChangeDisplayBaudRate(1)
Changes the display's baud rate to 19200 baud.
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
This method is used to change the display's
Description
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
User's Manual 0300277-02 Rev. D
5-15

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the InView Series and is the answer not in the manual?

Questions and answers

Table of Contents