oVideoIC Object

Main Index
Object List
Back to top of pageDescription:
 

An Object that overlays text on a video signal using an Intuitive Circuits OSD232 On-Screen Display Character Overlay Board.

 The following table lists the size and availability of the oVideoIC Object.
 ObjectSizeDescriptionA1A2B1B2C1
oVideoIC5 BytesControls an Intuitive Circuits On-Screen Display Character Overlay board.xxx
Back to top of pageOperation:
 When the oVideoIC Object's Value property is set to the ASCII value of a character, that character is sent out the I/O Lines specified by the IOLine property in such a way that an Intuitive  Circuits OSD232 On-Screen Display Character Overlay Board will display the character.

Setting the Value property to a string of characters will sequentially send each character in the string to the OSD232 module. (see examples)

Invoking the Locate method will cause the cursor to be positioned on the screen at the specified X-Y coordinates. 

Invoking the Clear method will cause the OSD232 module to clear the screen of any characters.

When created, the oVideoIC Object also creates an instance of the oSerialL object which it uses to control the display.  The properties of the instance of the oSerialL Object are configured to transmit data at 4800 baud with an inverted serial signal.  modifying that or any other properties of the oSerialL instance will affect the oVideoIC Object's operation in ways that could make the it unable to control the display.  See the oSerialL Help for more detail on how the serial port communicates with devices such as the Intuitive Circuits On-Screen Display.

Back to top of pageProperties:

The following table lists the properties of the oVideoIC Object:

Property

Description

Value
A value who's binary data is sent to the Video IC.
Object Class: oValue Value Range: 0 - 255
Data Type: Numeric Default Value: 0
VString
A string version of the Value property.
Object Class: oProperty
Data Type: Numeric
IOLine
A value that specifies which I/O Line is connected to the serial data line.
Object Class: oIOLine Value Range: 0 - 31
Data Type: Numeric Default Value: 0
Some I/O Lines have special purposes.  Be sure to see oIOLine help file for details.
Serial
The I/O function object used to control the Video controller.
Object Class: oSerialL Value Range: 0 - 255
Data Type: Numeric Default Value: 0
Address
Returns a pointer to the address of the oCounter Object instance.
Object Class: oAddress Value Range: 0 - 127
Data Type:Pointer (Read Only) Default Value: Address of Object

Back to top of pageMethods:
MethodsDescription
Clear

Clears the screen.

Locate

Sets the cursor to the specified location.
The Locate command uses two arguments; Row & Column, both of which are 0 based. 
Example: X.Locate(0,1) ' will locate cursor at 1st row, 2nd column.
Example: X.Locate(1,9) ' will locate cursor at 2nd row, 10th column.

Back to top of pageExamples:
 In the following example, the oVideoIC Object is used.
'This program prints "Testing"
'to the middle of a video screen.

Dim A As New oVideoIC 

Sub Main()
  A.IOLine = 16
  A.FullScreen
  A.Clear
  ooPIC.Delay = 1
  A.Color(cvicRed, cvicBlue)
  A.Locate(6,11)
  A.Value = "Testing" 
End Sub
Back to top of pageConnections:
The oVideoIC uses one I/O line.  This I/O line is connected to the serial in line of the Intuitive Circuits OSD232 On-Screen Display Character Overlay Board.

Back to top of pageRelated Items:

 The following table lists objects with related functions
 ObjectDescriptionA1A2B1B2C1
oLCDSE, TControls a Scott Edwards Serial LCD Display.xxx
oLCDControls a LCD Display.xxx
o7SegControls a 7-Segment Display.x
o7Seg2Controls a Dual 7-Segment Display.x
Back to top of pageVersion History and Bug List:
 Firmware Ver B1: Introduced.

Bugs: No known bugs.


ooPIC Compiler Ver 6.0 (c) Copyright 1997 - 2007 Savage Innovations, LLC.