Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Aug 21, 2008


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Streaming Images from a Compact Vision System to a Local AVI

0 ratings | 0.00 out of 5
Print

Overview

This example demonstrates how to stream images from a remote Compact Vision System (CVS) to a local Windows machine through TCP communication. The streamed images are then saved to an AVI file on the local machine.

Downloads

Filename: stream_images_cvs.zip
Requirements: View

The attached project, Stream CVS.lvproj, includes two VIs.  Remote.vi, which runs on the CVS, acquires images continuously from a Firewire camera using the high-level acquisition VIs, flattens the images to string data, and sends the data to the local machine through TCP/IP communication.  Local.vi, on the local Windows machine, receives the string data, unflattens it back to images, and saves the images to an AVI file.

 

Instructions

1.  Enter TCP Port, Timeout, Camera Name, and JPEG Quality values on Remote.vi Front Panel.

2.  Enter Remote IP Address and Remote Port values on Local.vi Front Panel.

3.  Enter AVI Frames Per Second value and select various AVI Compression Filter options on Local.vi Front Panel.

4.  Run Remote.vi.

5. Run Local.vi.


[+] Enlarge Image

6.  When prompted, select AVI file to write to.

7.  To stop acquisition, press STOP button on Local.vi Front Panel.

 

Requirements


Filename: stream_images_cvs.zip

Software Requirements


Application Software: LabVIEW Professional Development System
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Vision (IMAQ)
Driver: NI-IMAQdx

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).