NI 5431 Video Generator Instrument Driver Quick Reference Guide

Similar documents
CamViewIT VIs and Functions

Sample. Data Acquisition and Signal Conditioning. Course Manual. Course Software Version 2011 February 2012 Edition Part Number P-01

HCImage Live Getting Started Guide

Sapera LT 8.0 Acquisition Parameters Reference Manual

Getting Started Guide

TV Character Generator

Basic LabVIEW Programming Amit J Nimunkar, Sara Karle, Michele Lorenz, Emily Maslonkowski

Module 1: Digital Video Signal Processing Lecture 5: Color coordinates and chromonance subsampling. The Lecture Contains:

Getting Started Guide

AN-ENG-001. Using the AVR32 SoC for real-time video applications. Written by Matteo Vit, Approved by Andrea Marson, VERSION: 1.0.0

for File Format for Digital Moving- Picture Exchange (DPX)

SM02. High Definition Video Encoder and Pattern Generator. User Manual

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

Presented by: Amany Mohamed Yara Naguib May Mohamed Sara Mahmoud Maha Ali. Supervised by: Dr.Mohamed Abd El Ghany

Advanced Synchronization Techniques for Data Acquisition

Introduction To LabVIEW and the DSP Board

ENC ENC-1103 SDI to Composite/CAV/RGB Encoder Guide to Installation and Operation M July 2008 DESCRIPTION FUNCTIONAL BLOCK DIAGRAM

Getting Started with the LabVIEW Sound and Vibration Toolkit

Graduate Institute of Electronics Engineering, NTU Digital Video Recorder

AMIQ-K2 Program for Transferring Various-Format I/Q Data to AMIQ. Products: AMIQ, SMIQ

Building Video and Audio Test Systems. NI Technical Symposium 2008

Stream Labs, JSC. Stream Logo SDI 2.0. User Manual

MACROVISION RGB / YUV TEMP. RANGE PART NUMBER

World Converter. Model WC-01. User and Technical Manual

TV Synchronism Generation with PIC Microcontroller

Motion Video Compression

AC334A. VGA-Video Ultimate BLACK BOX Remote Control. Back Panel View. Side View MOUSE DC IN BLACK BOX ZOOM/FREEZE POWER

Quick Reference Manual

SigPlay User s Guide

Evaluation Board for CS4954/55

Software Analog Video Inputs

Chapter 3 Fundamental Concepts in Video. 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video

NAPIER. University School of Engineering. Advanced Communication Systems Module: SE Television Broadcast Signal.

Analyzing and Saving a Signal

MAX11503 BUFFER. Σ +6dB BUFFER GND *REMOVE AND SHORT FOR DC-COUPLED OPERATION

Broadcast H.264 files live with ATEM Television Studio!

Statement SmartLCT User s Manual Welcome to use the product from Xi an NovaStar Tech Co., Ltd. (hereinafter referred to as NovaStar ). It is our great

DATASHEET HMP8154, HMP8156A. Features. Ordering Information. Applications. NTSC/PAL Encoders. FN4343 Rev.5.00 Page 1 of 34.

Design and Implementation of an AHB VGA Peripheral

EBU Digital AV Sync and Operational Test Pattern

HD ENCODULATOR TM, SD ENCODULATOR TM LUMANTEK

Getting Started After Effects Files More Information. Global Modifications. Network IDs. Strand Opens. Bumpers. Promo End Pages.

for the Epson Stylus Pro 4000 User s Guide

Data Acquisition Using LabVIEW

Major Differences Between the DT9847 Series Modules

A few quick notes about the use of Spectran V2

Teletext Inserter Firmware. User s Manual. Contents

DSP Laboratory: Analog to Digital and Digital to Analog Conversion *

AC335A. VGA-Video Ultimate Plus BLACK BOX Back Panel View. Remote Control. Side View MOUSE DC IN OVERLAY

Fig. 1. The Front Panel (Graphical User Interface)

How to install, set up, and use your new DVDO product

Rec. ITU-R BT RECOMMENDATION ITU-R BT * WIDE-SCREEN SIGNALLING FOR BROADCASTING

CM-392-Video to HDMI Scaler Box ID#481

To discuss. Types of video signals Analog Video Digital Video. Multimedia Computing (CSIT 410) 2

Manual Version Ver 1.0

NI-DAQmx Device Considerations

HD-SDI Express User Training. J.Egri 4/09 1

Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri April 2011 Sharif University of Technology

A Guide to Standard and High-Definition Digital Video Measurements

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

PCI Express JPEG Frame Grabber Hardware Manual Model 817 Rev.E April 09

Primer. A Guide to Standard and High-Definition Digital Video Measurements. 3G, Dual Link and ANC Data Information

Agilent M9330A Series PXI-H Arbitrary Waveform Generator

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

ENGR 1000, Introduction to Engineering Design

VTV2000 / VTV2000-SA VGA to TV Scan Converter Card

Digital Video Telemetry System

ATEM Production Studio 4K

About Final Cut Pro Includes installation instructions and information on new features

NI GSM/EDGE Toolkit Specifications

LabVIEW driver history for the R&S HMP Power Supplies Family

NI-DAQmx Key Concepts

Section 4. Display Connector

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

ZXFV4583 SYNC SEPARATOR WITH VARIABLE FILTER

ATEM 2 M/E Production Studio 4K

HDMI-8x8. MicroQ User Manual APANTAC LLC, 7556 SW BRIDGEPORT ROAD, PORTLAND, OR TEL: , FAX:

Vantage4 User Manual. UK Headquarters

Projector Management Application Version 7.00 Instruction Guide

10 Digital TV Introduction Subsampling

B I O E N / Biological Signals & Data Acquisition

STPC Video Pipeline Driver Writer s Guide

SingMai Electronics SM06. Advanced Composite Video Interface: DVI/HD-SDI to acvi converter module. User Manual. Revision th December 2016

Import and quantification of a micro titer plate image

ATEM Television Studio

ATEM 2 M/E Production Studio 4K

3 rd Party Interfaces. Version Installation and User Guide

StrataSync. DSAM 24 Hour POP Report

Configuration guide TDH 800 PAL output module. TDH 800 PAL output module Version A EN triax.com

Multimedia. Course Code (Fall 2017) Fundamental Concepts in Video

ATEM Television Studio Pro HD

C8188 C8000 1/10. digital audio modular processing system. 4 Channel AES/EBU I/O. features. block diagram. 4 balanced AES inputs

Operating Instructions

7. Image transmission functions

CDMA2000 1xRTT / 1xEV-DO Measurement of time relationship between CDMA RF signal and PP2S clock

WebMedia Plugin Manager Operational Reference

Manual Version V1.02

DLP Pico Chipset Interface Manual

INTERLACE CHARACTER EDITOR (ICE) Programmed by Bobby Clark. Version 1.0 for the ABBUC Software Contest 2011

HCS-4100/20 Series Application Software

Transcription:

NI 5431 Video Generator Instrument Driver Quick Reference Guide Easy Programming for National Instruments Oscilloscopes ICON FUNCTION NAME AND DESCRIPTION TYPE PARAMETER DESCRIPTION Video Data Formatting Functions VDG_SetVideoFormat Selects the video format used for the calculation of the video data VDG_SetImage Maps the basic image used for the calculation of the video data or unmaps the image after the calculation is performed VDG_Attribute Gets or sets any attribute for the selected video format VDG_SetFilter Selects and applies a specific filter to a specified video component Get 16-Bit Output Data Functions Enum Video format Selects the video format to be generated I32 Number of lines Returns the number of lines per frame for the selected video format Image handle Image Specifies the image reference for the image to be processed Enum Function Maps or unmaps the image to be processed Boolean Get/Set (Get) Selects whether you want to get or set an attribute Enum Attribute Selects which attribute to get or set DBL Set value Attribute value to be set DBL Get value Returns the actual attribute value SGL [ ] Custom filter data Inputs the filter coefficients for a custom defined filter to be applied on a specified component Enum Video component Selects the video component to be filtered Enum Filter type Selects the filter type used on the specified component VDG_Get_I16_Line Calculates the data of the selected video component for the specified video line VDG_Get_YC_I16_Line Calculates the data for the Y (Luma) and C (Chroma) components for the specified video line VDG_Get_I16_LineBlock Controls the generation of the composite video data in block mode Enum Signal type Specifies the video component to be I16 [ ] Output signal Returns the component I16 data for the I16 [ ] Y signal Returns the I16 composite luma (Sync + Luma) data for the I16 [ ] C signal Returns the I16 chroma data for the Enum Function Selects the function to perform Boolean Digital Sync Enables or disables the insertion of the 4 digital synchronization signals into the 4 lowest significant bits of the 16-bit video data I16 [ ] Output signal Returns the composite I16 data for the National Instruments is a trademark of National Instruments Corporation. Product and company names mentioned herein are trademarks or trade names of their respective companies. 322598A-01 Copyright 2000 National Instruments Corp. All rights reserved. January 2000

Get 16-Bit Output Data Functions (continued) VDG_Get_RGB_I16_Line Calculates the data for the R, G, and B components for the specified video line Get SGL Precision Output Data Functions Enum Synchro channel Specifies which channel includes the composite synchronization signal I16 [ ] Red signal Returns the red I16 data for the I16 [ ] Green signal Returns the green I16 data for the I16 [ ] Blue signal Returns the blue I16 data for the VDG_GetSignalLine Calculates the data of the selected video component for the specified video line VDG_Get_YC_Line Calculates the data for the Y (Luma) and C (Chroma) components for the specified video line Enum Signal type Specifies the video component to be SGL [ ] Output signal Returns the component SGL data for the SGL [ ] Y signal Returns the single precision (SGL) composite luma (Sync + Luma) data for the SGL [ ] C signal Returns the single precision (SGL) chroma data for the Set Insertion Test Lines Functions VDG_SetLineData Inserts an input array with luma data into the active part of a specific video line. The input data can be either 8-bit unsigned (U8), 16-bit signed (I16), or single precision (SGL) values VDG_SetRGB48LineData Inserts an RGB test signal into the active part of a specified video line VDG_SetYUV48LineData Inserts a YUV or YQI (depending on the selected video format test signal into the active part of a specified video line VDG_MergeDigitalSync Merges the 4 synchronization bits (Hsync, Vsync, Csync, and FieldID) into the 4 LBSes of a 16-bit input array I32 Line number Specifies the video line where the test signal data is to be inserted U8 [ ] U8 Data Inputs the insertion test signal data to the video line defined by the Line U16 [ ] U16 Data Inputs the insertion test signal data to the video line defined by the Line SGL [ ] SGL Data Inputs the insertion test signal data to the video line defined by the Line I32 Line number Specifies the video line where the test signal data is to be inserted U16 [ ] Red Inputs the insertion test signal data for the red channel to the video line defined by the Line U16 [ ] Green Inputs the insertion test signal data for the green channel to the video line defined by the Line U16 [ ] Blue Inputs the insertion test signal data for the blue channel to the video line defined by the Line I32 Line number Specifies the video line where the test signal data is to be inserted U16 [ ] Y Inputs the insertion test signal data for the luma component (Y) to the video line defined by the Line I16 [ ] U or Q Inputs the insertion test signal data for the first chroma component (U for PAL, I for NTSC, or Db for SECAM) to the video line defined by the Line I16 [ ] V or I Inputs the insertion test signal data for the second chroma component (V for PAL, Q for NTSC, or Dr for SECAM) to the video line defined by the Line Boolean Kill Chroma Modulation In SECAM mode, disables (kills) the frequency modulation sub-carrier that otherwise would be present on a test line even though the U (Db) and V (Dr) components are null I32 Line number Specifies the video line where the digital synchronization information is to be merged I16 [ ] Input signal 16-bit (I16) data array containing the line data where the synchronization signals are to be merged I16 [ ] Output signal 16-bit (I16) data array including the 4 synchronization bits 2

High Level Save/Load ITS Functions Download insertion test signal Downloads Insertion Test Signal (ITS) data from a file Save RGB insertion test signal Saves the 3 arrays (U16) that correspond to an RGB insertion test signal Save YUV insertion test signal Saves the 3 arrays in order (U16, I16, and I16) that correspond to a YUV or YQI insertion test signal NI 5431 High-Level Driver Functions File path Test lines path File path for the ITS data file to be loaded I32 Line number Specifies the video line where the ITS signal is to be inserted String Comments Shows comments about the saved ITS signal; if no comments have been saved, this indicator will be empty I32 [ ] Y or R Contains the data for the first ITS component. If the ITS format is YUV, the data represents the Y (luma) signal. If the ITS format is RGB, the data represents the R (red) signal I32 [ ] U, Q or G Contains the data for the second ITS component. If the ITS format is YUV, the data represents the U (PAL), Db (SECAM) or Q (NTSC) signal. If the ITS format is RGB, the data represents the G (green) signal I32 [ ] V, I or B Contains the data for the third ITS component. If the ITS format is YUV, the data represents the V (PAL, Dr (SECAM) or I (NTSC) signal. If the ITS format is RGB, the data represents the B (blue) signal boolean ITS format Returns the ITS format (either YUV or RGB) for the loaded test line File path Test lines path File path for the ITS signal to be saved U16 [ ] R input Inputs the 16-bit (U16) data for the red channel of the ITS signal to be saved U16 [ ] G input Inputs the 16-bit (U16) data for the green channel of the ITS signal to be saved U16 [ ] B input Inputs the 16-bit (U16) data for the blue channel of the ITS signal to be saved String Comments Text comments up to 256 characters can be input in this control. The text will be saved in the same file as the ITS data and can be retrieved using a VI such as the download insertion test signal.vi File path Test lines path File path for the ITS signal to be saved U16 [ ] Y input This array inputs the 16 bit (U16) data for the luma channel of the ITS signal to be saved I16 [ ] U (or Q) Inputs the 16 bit (I16) data for the U (PAL), Q (NTSC) or Db (SECAM) component of the ITS signal to be saved I16 [ ] V (or I) Inputs the 16 bit (I16) data for the V (PAL), I (NTSC), or Dr (SECAM) component of the ITS signal to be saved String Comments Text comments up to 256 characters can be input in this control. The text will be saved in the same file as the ITS data and can be retrieved using a VI such as the download insertion test signal.vi Boolean Kill Chroma In SECAM mode, disables (kills) the frequency Modulation modulation sub-carrier that otherwise would be present on a test line even though the U (Db) and V (Dr) components are null NI-5431 HL Calculate and Download Video Data Calculates the video data of a specified video format and downloads it to the NI 5431 board handle in The VISession handle that you obtain from nifgen_init or nifgen_initwithoptions. The handle identifies a particular Enum Video type Selects the video format to be generated The VISession handle that you obtain from nifgen_init or nifgen_initwithoptions. The handle identifies a particular I32 sequence length Number of waveforms used to create the entire video signal I32 [ ] waveform handles array Array of waveform handles specifying the playlist needed to generate a video signal 3

NI 5431 High-Level Driver Functions (continued) NI-5431 HL Calculate and Save S-Video Data Calculates the S-Video data and saves it to the specified files NI-5431 HL Calculate and Save Video Data Calculates the composite video data and saves it to thespecified files NI-5431 HL Configure Sequencer Configures the generation sequence of the video waveform NI-5431 HL Download Video Data from File Downloads the video data from a file NI-5431 HL Initialize Initializes the NI 5431 board NI-5431 HL Setup Attributes Sets up the hardware attributes needed to generate a video waveform File path File path Output C binary video file Output Y binary video file File path for the Output C binary video file to be saved File path for the Output Y binary video file to be saved Enum Video type Selects the video format to be generated Boolean Digital sync Enables or disables the insertion of the 4 digital synchronization signals into the 4 lowest significant bits of the 16-bit video data Boolean Digital sync Enables or disables the insertion of the 4 digital synchronization signals into the 4 lowest significant bits of the 16-bit video data File path Output binary video file path File path for the Output binary video file to be saved Enum Video type Selects the video format to be generated handle in The VISession handle that you obtain from nifgen_init or nifgen_initwithoptions. The handle identifies a particular I32 sequence length Number of waveforms used to create the entire video signal I32 [ ] waveform handles array Array of waveform handles specifying the playlist needed to generate a video signal DBL Output level Output level of the video signal (default: 7 mv/ire) (mv/ire) DBL offset Controls the dc level of the video signal The handle identifies a particular File path path Location of the file to be downloaded handle in The handle identifies a particular I32 Number of blocks Specify the number of blocks used to build the sequence The handle identifies a particular I32 sequence length Number of waveforms used to create the entire video signal I32 [ ] waveform handle Array of waveform handles specifying the playlist needed to generate a video signal I16 Device ID Device number assigned to the NI 5431 during configuration The handle identifies a particular Boolean DigiSync Enables the digital output data of the NI 5431 handle in The handle identifies a particular DBL Output level Output level of the video signal (default: 7 mv/ire) (mv/ire) Cluster Filter Settings Enables the analog and digital filters of the NI 5431 Enum Video type Selects the video format to be generated Cluster Trigger Control Controls the generation trigger The handle identifies a particular 4

NI-FGEN Instrument Driver Functions nifgen_initiategeneration Session Handle Identifies a particular Initiates signal generation nifgen_close Closes the I/O, destroys the driver and all of its attributes, and deallocates any memory resources the driver uses nifgen_errorhandler Converts a status code returned by an driver function into a user-readable string and returns any error elaborations Session Handle Identifies a particular Session Handle Identifies a particular Status errorcode Passes the Status parameter that is returned from any of the driver functions Char[256] errormessage Returns the user-readable message string that corresponds to the status code you specify IMAQ Vision Toolkit Functions IMAQ_Create Creates an image IMAQ_Dispose Destroys an image and frees the space it occupied in memory. This VI is required for each image created in an application to free the memory allocated to IMAQ_Create IMAQ_ReadFile Reads an image file IMAQ_WriteFile Writes an image to a file I32 Border size Determines the width, in pixels, of the border to create around an image String Image Name The name associated with the created image. Each image created must have a unique name Enum Image Type Specifies the image type cluster New Image The Image structure that is supplied as input to all subsequent (downstream) functions used by IMAQ Vision. Multiple images can be created in a LabVIEW or BridgeVIEW application Boolean All Images (No) Specifies whether to destroy a single image or all previously created images. Giving a TRUE value on input destroys all images previously created. The default is FALSE Cluster Image Specifies the image to destroy Path File Path The complete pathname, including drive, directory, and filename, for the file to be loaded Cluster Image The reference to the image structure to which the data from the image file is applied Boolean Load Color Palette (No) Determines whether to load the color table present in the file (if it exists). If loaded, this table is read and made available to the output Color Palette. The default is FALSE Cluster File Options A cluster of user-optional values that you can use to read non-standard file formats. The file structure must be known to the user. Cluster Color Palette Out Contains the RGB color table (if the file has one) read from the file when the user passes the value TRUE for the input Load Color Palette? (No) Cluster Image Out The reference to the image structure containing the data read from the image file String File Type Out Indicates the file type that is read. This string returns an identifier of the file format, which can be BMP, TIFF, JPEG, PNG, or AIPD (internal file format). File Type returns xxx if the file format is unknown I32 File Data Type Out Indicates the pixel size defined in the header for standard image file types. File Options are not necessary for reading standard image files. For other types of image files, the returned values are passed from File Options/File Data Type Cluster Color Palette Used to apply colors to a monochrome image Cluster Image The reference to the image structure to be written to an image file Enum File Type Describes the file type to be written. The default file type is BMP. Other file types supported are AIPD, TIFF, JPEG, and PNG Path File Path Is the complete pathname, including drive, directory, and filename, of the file to be written. This path can be supplied by either the user or the VI File Dialog from LabVIEW or BridgeVIEW 5

IMAQ Vision Toolkit Functions (continued) IMAQ_ImagetoArray Extracts (copies) the pixels from an image, or part of an image, into a LabVIEW or BridgeVIEW 2D array IMAQ_ArraytoImage Creates an image from a 2D array IMAQ_Winddraw Displays an image in an image window Cluster Image The reference to the source (input) image I32 [ ] Optional Rectangle Defines a four-element array that contains the coordinates (Left/Top/Right/Bottom) of the region to extract. The operation applies to the entire image if the input is empty or not connected U8 [ ] Image Pixels (U8) Returns the extracted pixel values into a 2D array. This output is used only for an 8-bit image I16 [ ] Image Pixels (I16) Returns the extracted pixel values into a 2D array. This output is used only for a 16-bit image SGL Image Pixels (Float) Returns the extracted pixel values into a 2D array. This output is used only for a 32-bit floating-point image Cluster Image The reference to the source (input) image U8 [ ] Image Pixels (U8) Returns the extracted pixel values into a 2D array. This output is used only for an 8-bit image I16 [ ] Image Pixels (I16) Returns the extracted pixel values into a 2D array. This output is used only for a 16-bit image SGL Image Pixels (Float) Returns the extracted pixel values into a 2D array. This output is used only for a 32-bit floating-point image Cluster Image Out The reference to the destination (output) image I32 Window Number (0 15) Specifies the image window in which the image is displayed Cluster Image Specifies the image reference for the displayed image String Title An image window name. When a string is attached to this input, the image window automatically takes that name Cluster Color Palette Is used to apply a color palette to an image window Boolean Resize to Image Size? (Y) Specifies whether the user wants to resize the image window automatically to fit the image size. The default is TRUE (yes), in which case the user does not have to know the size of a source image before displaying it 6

IMAQ_ Create IMAQ_ ReadFile IMAQ_ Dispose 7 Path 1 Path 2 Path 3 Optional Paths Programming Flow