User Manual Manual
Publication 2706-UM016D-EN-P - March 2006
5-2 InView Control and InView Control API
InViewCtrl1.UpdateVariable 0, Text1.Text 'Update variable 0
with
End Sub 'number in edit box
Private Sub Form_Load()
InViewCtrl1.Initialize 'Open COM1
InViewCtrl1.Heartbeat = 2 'Disable heartbeat
InViewCtrl1.AddMessage 1 'Trigger message #1
End Sub
Reference
• Name: InView Control
• ProgId: Invwctrl.InView
• Interface: InViewCtrl
SupportErrorInfo
Properties
InViewCtrl Properties Description
ConnectMode Sets/Returns method by which the control communicates with the display.
NetworkAddress Sets/Returns IP address used to communicate with the display.
NetworkPort Sets/Returns socket port used to communicate with the display.
SerialComPort Sets/Returns serial port used to communicate with the display.
SerialBaudRate Sets/Returns serial baud rate used to communicate with the display.
SerialParity Sets/Returns serial parity used to communicate with the display.
SerialDataBits Sets/Returns serial data bits used to communicate with the display.
SerialStopBits Sets/Returns serial stop bits used to communicate with the display.
DisplayAddress Sets/Returns the address being used to communicate with the display.
PartitionSize Sets/Returns the maximum size (in bytes) per message in the display.
Heartbeat Sets/Returns the use of a heartbeat while communicating with the display.