Chapter 3. Using Diagnostic Tests

This chapter explains how to use board functionality tests for Sirius Video.

Major functional areas of the Sirius Video board convert live graphics pixel streams to video. Figure 3-1 is a block diagram of how the Sirius Video board (VO2) interacts with other workstation components.

Figure 3-1. Sirius Video Top-Level Block Diagram

Figure 3-1 Sirius Video Top-Level Block Diagram

As shown in Figure 3-1, the Sirius Video board communicates

Figure 3-2 diagrams Sirius Video board functionality.

Figure 3-2. Sirius Video Board Architecture

Figure 3-2 Sirius Video Board Architecture

For details on board functional components, see the Sirius Video Programming and Configuration Guide (007-2238-00x).

Functionality feedback tests check

In addition, VME feedback tests that check data flow through the board can be used as quick functionality tests.

The graphics-based functionality feedback test executables route a pattern through the specified board component and buffer (A or B) to output, and compare the test pattern with the output.

The tests are as follows:

These tests execute pixel-by-pixel comparisons. If failure occurs at any pixel, the test prints the pixel location, the expected value, and the received value. Test failure messages are displayed in 12-bit space.

This section discusses

Test Output Windows

The functionality feedback tests display three windows, as shown in Figure 3-3:

  • test pattern window, which shows the test pattern being sent

  • errors window, which shows the color of any gun(s) that failed the test

  • output window, which shows the test pattern being read

    Figure 3-3. Functionality Feedback Test Windows

    Figure 3-3 Functionality Feedback Test Windows


Note: The vo2VMEtoCKGtoCP functionality feedback test does not display the three windows shown in Figure 3-3, only the output window.

In 625 mode, the windows overlap, and no comparison takes place.

Syntax

The function prototype for all the functionality feedback tests is

testname -a -b[Buffer Channel] [-f Format] [-c RGBColor] 
[-p TestPattern] [-s Smooth Select] 

Variables are as follows.

Buffer Channel 


Either A or B; the default is A.

Format 

Either 0 (serial) or 1 (parallel).

RGBcolor 

One of the following:

  • 0: black

  • 1: white

  • 2: yellow

  • 3: cyan

  • 4: green

  • 5: magenta

  • 6: red

  • 7: blue

TestPattern 

Operates in 12-bit space, and indicates errors in 8-bit space (MSB), except for test 40; this test uses 10 of the 12 bits and is one of the following:

  • 10: FLATFIELD (eight-bit-wide bumps)

  • 20: COLORBARS_VERT (the default)

  • 21: COLORBARS_EIA

  • 22: COLORBARS_SMPTE

  • 23: COLORBARS_HORIZ

  • 30: LINEAR_RAMP (8-bit pattern)

  • 40: GOURAUD_SHADED (10-bit pattern; 12-bit-mode linear ramp; 12-bit comparison pixel by pixel)


Note: For feedback test vo2D1toCP, use test patterns 20 and 23 only. The rounding off performed during the other test patterns might give erroneous results for this test. For texture mode as used with vo2D1toCP and vo2D1toCP, use test pattern 30 only; others cause failure.


Smooth Select 

Integer from 0 (no smoothing) through 7 (greatest amount of smoothing).

In additional to these parameters, vo2D1toCP can use -d1 or -d2 to indicate channel 1 or 2, respectively.


Note: Default timing for the tests is 525. It is not advisable to run any test in 625 mode, because the test pattern and output windows are so big that they overlap, which causes the compare process to fail.

The following example runs the SMPTE color bars through serial D1 channel 1 to the pixel averager, into buffer A, and out to the screen, at 525 lines per frame:

vo2PAtoCP -a -b A -p 23 

The following example runs the color magenta through serial D1 channel 1 to the VME input, into buffer B, and out to the screen, at 525 lines per frame:

vo2VMEtoCP -a -b B -f 1 

Using the vo2D1toCP Test

To use the vo2D1toCP test, follow these steps:

  1. Attach the D1 digital parallel loopback connector to the D1 on the Sirius Video breakout box.

  2. Get into the /SIRIUS/dmedia/diags/ directory. At the IRIX prompt, enter

    vo2D1toCP [parameters]


Note: For this test, use test patterns 20 and 23 only; use -d1 and -d2 to indicate channel.


Using vo2PAtoCP and vo2VMEtoCP in Texture Mode

The tests vo2D1toCP and vo2D1toCP have an additional parameter, -x number, that specifies texture mode. number specifies the texture mode:

  • 4 for 4-bit texture mode

  • 5 for 5-bit texture mode

  • 8 for 8-bit texture mode

For texture mode, only test pattern 30 (linear ramp) can be used; other test patterns cause failure.

This example specifies 4-bit texture mode, with white for the test pattern:

vo2VMEtoCP -x 4 -p 30 -c 1