Jump to content

IMAQ Sessions


Recommended Posts

Just wondering if I can do this:

If I want to perform a series of operations on the camera, I can do an IMAQdx open camera at the beginning, then feed the output dup IMAQdx session into several subVIs (which take the output IMAQdx session as an input IMAQdx session for some other provided IMAQdx VI like snap), each of which output the dup session again until it finally reaches IMAQdx close camera?

It should be possible, right? I just wanted to check before committing to doing it.

Link to comment

QUOTE(zoogies @ Jul 20 2007, 01:06 PM)

Just wondering if I can do this:

If I want to perform a series of operations on the camera, I can do an IMAQdx open camera at the beginning, then feed the output dup IMAQdx session into several subVIs (which take the output IMAQdx session as an input IMAQdx session for some other provided IMAQdx VI like snap), each of which output the dup session again until it finally reaches IMAQdx close camera?

It should be possible, right? I just wanted to check before committing to doing it.

The question is not "is it possible?" but "is it going to do what I expect it to do?" ; answer won't necessarily be the same !

I think you should use a state machine architecture and do the "open session" before the while loop, wire the IMAQ session into a shift register and have a state for each operation you need to perform.

Fill free to ask if you need example to help you code this.

Hope this helps

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.