Basic Create Composite Signal from BMP Image

NI 5431 Composite Video Generator

NI 5431 Composite Video Generator
Basic Create Composite Signal from BMP Image

This basic VI example generates an NTSC, PAL, or SECAM data array, depending on the selected video format, downloads the data to the NI 5431, and automatically starts the generation of the video signal.

You can access this VI example in the LabVIEW palette by selecting Functions»Video Generation»Generator Examples»Basic create composite signal from BMP image.

To generate a standard video signal, follow these steps:

  1. After selecting the example VI icon in the LabVIEW palette, click the LabVIEW diagram to place the icon there. Double-click the VI example icon to open it in LabVIEW.
  2. Note  You can also access this VI from the installation drive by double-clicking the Composite Video Generator Examples.llb library. The File Dialog box appears. Click the Basic create composite signal from BMP image.vi, then click OK. The VI opens in LabVIEW.
  3. Make sure theDevice ID control value matches device number assigned in MAX during device configuration. Refer to the NI Signal Sources Getting Started Guide for more information about device configuration.
  4. On the front panel of the VI, using the LabVIEW palette operating tool and the up and down arrows on the Video type control, select the appropriate video format.
  5. Run the VI. An Input BMP File? dialog box appears, prompting you to select the bitmap image file to convert to video.
  6. Double-click the BMPs shortcut to browse in the appropriate subdirectory for the appropriate bitmap image file based on the video format you chose in step 3. Refer to Basic Examples for more information.
  7. Double-click the subdirectory, then double-click a .bmp file.
Note  To avoid being prompted for the bitmap image file, type the file path in the Input BMP file path control before running the VI.

After a few seconds, a video signal should start generating.