![Allen-Bradley InView Marquee 2706-P42 User Manual Download Page 189](http://html1.mh-extra.com/html/allen-bradley/inview-marquee-2706-p42/inview-marquee-2706-p42_user-manual_2900517189.webp)
1
Publication 2706-UM016A-EN-P - June 2002
Chapter
10
InView Control
InView Control API
Introduction
The purpose of this chapter is to describe the API for the InView
control. The chapter is divided into two sections. The first section is a
quick overview on how to use the control. It highlights the basic steps
needed to get the control up and running. The second section is a
detailed reference of the properties and methods available in the
control. Each property and method is listed in a table with a brief
description and a link to a more complete description.
Quick Overview
The InView Control is designed primarily for use with the InView
Messaging Software. The InView Messaging Software is used to create
and download messages to the display, and the InView control is used
to trigger the messages and update variables within those messages.
Assuming that the InView Messaging Software has already been used
to load the display with messages, there are five basic steps to using
the control to trigger a message:
1.
Add the control to your project. It appears as InView Control
under Project|Components… in Visual Basic.
2.
Call the
Initialize
method to open a connection to the display.
3.
Set the
Heartbeat
property to 2 to disable the display’s heartbeat
requirement.
4.
Call the
AddMessage
method to trigger a message on the display.
5.
Call the
UpdateVariable
method to change the value of a
variable.
Below is a snapshot of a Visual Basic form and its associated code that
illustrates these five steps. This code assumes that the display contains
a message in slot number 1, and that the message contains variable 0
within its body. It also uses the controls default communications
settings of serial on COM1 to connect with the display.
Private Sub Command1_Click()
InViewCtrl1.UpdateVariable 0, Text1.Text 'Update variable 0 with
Summary of Contents for InView Marquee 2706-P42
Page 6: ...Publication 2706 UM016A EN P June 2002 Table of Contents iv...
Page 32: ...Publication 2706 UM016A EN P June 2002 1 26 InView Marquee Message Display Installation...
Page 36: ...Publication 2706 UM016A EN P June 2002 2 4 InView System Connectivity...
Page 62: ...Publication 2706 UM016 A EN P June 2002 4 20 DF1 Point to Point Communication...
Page 88: ...Publication 2706 UM016A EN P June 2002 5 26 EtherNet IP Communications with Dual ENI...
Page 103: ...Publication 2706 UM016A EN P June 2002 EtherNet IP Communications 6 15 Allen Bradley Spares...
Page 104: ...Publication 2706 UM016A EN P June 2002 6 16 EtherNet IP Communications...
Page 128: ...Publication 2706 UM016A EN P June 2002 7 24 DeviceNet Communications with Dual DNI...
Page 136: ...Publication 2706 UM016A EN P June 2002 8 8 DeviceNet Communications...
Page 204: ...Publication 2706 UM016A EN P June 2002 A 2 Technical Specifications...
Page 206: ...Publication 2706 UM016A EN P June 2002 B 2 Temperature Protection in NEMA Rated Enclosures...
Page 208: ...Publication 2706 UM016A EN P June 2002 C 2 Catalog Number Explanation...
Page 211: ...Allen Bradley Spares...