Creating Insertion Test Signals Using RGB Mode

NI 5431 Composite Video Generator

NI 5431 Composite Video Generator
Creating Insertion Test Signals Using RGB Mode

Create RGB Color Bars Insertion Test Signal shows you how to create an ITS data file based on RGB data. The example creates an RGB color bar test pattern and saves the data as a file called test create RGB ITS.its. The file can then be recalled using the Intermediate insert ITS in composite signal VI.

You can access this example VI by selecting Functions»Video Generation»Generator Examples»Create RGB color bars Insertion Test Signal.

To generate an RGB Insertion Test Signal, complete the following steps:

  1. Launch the example VI
  2. Note  This VI has predefined parameters for demonstration purposes. If you have not installed the software in the C: drive root directory, correct the file path of the ITS signal to be saved on the VI front panel so that it matches the installation.
  3. Make sure the module ID control value matches the value assigned by MAX during configuration of the module.
  4. Run the VI. The RGB ITS appears in the front panel, and the ITS data is saved on the disk. Refer to Attribute List for more information.

An RGB ITS is defined as three data arrays (R, G, and B) of unsigned 16-bit data (U16). The size of the arrays depends on the selected video format and the specified active video duration, which you can modify using the Image duration (µs) attribute. The default value for an NTSC signal is 52.2 µs, corresponding to approximately 1,044 samples at the nominal sampling frequency of 20.013 MHz. For B-PAL and SECAM, the default active video duration is 52.0 µs, corresponding to 1,040 samples at the nominal sampling frequency of 20.000 MHz. Refer to Attribute List for more information.

The default size of the array is 1,044 for M-NTSC and 1,040 for 50 Hz-type PAL or SECAM. The data are scaled so that zero corresponds to black or 0 IRE (if no setup is applied), and 65,535 (the maximum value for unsigned 16-bit data) corresponds to white or 100 IRE.