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

Document Type: Example Program
NI Supported: Yes
Publish Date: Jun 18, 2012


Feedback


Yes No

Related Categories

Related Links - Developer Zone

IMAQdx Stream Image to Disk Using Asynchronous TDMS

1 ratings | 2.00 out of 5
Print

Overview

Stream images to disk using Asynchronous TDMS

Downloads

Filename: asynchronous_stream_photo.zip
Requirements: View

The Asynchronous Stream Photo example attached uses Asynchronous TDMS VIs to quickly stream images from a camera that uses the IMAQdx driver to disk.  The Asynchronous Read VI, which is called from the Asynchronous Stream Photo VI, then reads in the TDMS data and converts it to individual images, which then save into a folder of images.

 

If you receive error -68002 when running this VI, then follow the steps described below.


1. Open the Windows Control Panel.
2. Click System and Security in the Category view.
3. Click Change User Account Control settings in the Action Center section.
4. In the User Account Control Settings dialog box that appears, move the security slider down to Never notify.

Caution: Changing the security settings might bring your computer to potential security risks. Click the Tell me more about User Account Control settings link in this dialog box to understand the potential security risks of each setting.

5.Restart your computer.

Requirements


Filename: asynchronous_stream_photo.zip

Software Requirements


Application Software: LabVIEW Full Development System 2011 SP1

Hardware Requirements


Driver: NI-IMAQdx 3.5

 
1 ratings | 2.00 out of 5
Print

Reader Comments | Submit a comment »

Bug in
There is a bug in "Asynchronous Read.vi". In the For Loop, there is an integer constant of 640 that is wired to the y value of the quotient and remainder function. This y value should be wired to the Width control (ie, the width of the image). As is, this subVI will only work if your image is 640 pixels wide. When wired correctly to the Width control, the subVI will work for any image size used.
- Aug 14, 2012

 

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/).