Jump to content

Save to AVI with IMAQdx


Recommended Posts

Hi, I have a little problem with IMAQdx blocks and saving to AVI. I wanted to make a circuit for grabbing and saving to AVI from the example - Grab and Save to AVI.vi. It is allright, but I a need to replace IMAQ blocks with IMAQdx. When I do it, it looks well, the grabbing is functional, but there is a problem with saving to AVI. I cannot get Image Type property from IMAQdx first block, so an error occures - Invalid Image Type. When I connect an image type constant (Grayscale, RGB,...) to IMAQ Create block, the problem is the same! What to do with this? How to adjust left side correctly? Thanks.

Link to comment

QUOTE (Vende @ Feb 5 2009, 07:58 AM)

The problem is solved! The problem was in camera mode, I had to choose the right mode to has valid image to avi.

Or you need to down-convert your Image Refs to the proper format before storing to AVI (it can only handle U8 grayscale or 32-bit RGB images).

Bruce

Link to comment

QUOTE (Vende @ Feb 5 2009, 09:50 AM)

Yes, you are right. Can you tell me how to do it and what to use? Thanks

If you are using NI-VISION then you can use the IMAQ Cast Image.vi. You probably don't want to modify the existing Image Ref, in that case you need to wire in a new Image Ref to the Image Dst input of this VI.

Bruce

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.