Adding a DC Offset to Video Lines

Publish Date: May 30, 2018 | 1 Ratings | 5.00 out of 5 | Print | Submit your review

Use this example to modify a standard NI-Video image waveform so you can test a Video DC restore system. In video applications, DC restoration moves the backporch or black level of a video waveform to a fixed DC reference.

The VI opens an NI-Video file waveform and adds an offset voltage to each line in the video waveform. You select a voltage increment, and a maximum positive and negative voltage offset. The VI automatically increases the offset by the desired increment by each line sequentially until it reaches the maximum positive offset. At this point, the VI starts decreasing the offset by the desired increment until it reaches the maximum negative offset.

You are then prompted to save the new NI-Video binary waveform file for later use. You can easily modify the VI to be included in a higher lever VI to modify waveform files as they are opened and downloaded.

Note: The NI 5431 Video Signal Generator was declared end-of-life (EOL) on November 13, 2007 and is no longer available for purchase. For new video test applications, National Instruments offers the NI Analog Video Generator. This solution is based on the NI 5421 Arbitrary Waveform Generator and includes the NI Analog Video Generator software, a stand-alone graphical user interface for configuring and running video generation. 

To add a DC offset to video lines with the NI Analog Video Generator, see KB 4XBGRAZD: How to Add a DC Offset with NI Analog Video Generator.

Back to Top

Bookmark & Share



Offset Video lines and Save Fi



Rate this document

Answered Your Question?
Yes No