ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ pause?!

Solved!
Go to solution

hey everyone,

 

I have a simple program where I grab frames with Dalsa C640. I need my program to have the ability to pause/resuming the Frame Grabbing with a button click. 

 

What would be the simpliest way to do it? Do i have to stop the grab and then resume it? is there a pause option in IMAQ?

 

thanks!

0 Kudos
Message 1 of 3
(3,323 Views)
Solution
Accepted by topic author MrNewb

Hi MrNewb,

 

There is no dedicated IMAQ pause VI, but you could create this behavior by inserting a case structure around your IMAQdx get image VI. The image below is of our simple Low-Level Grab.vi example with a case structure added in that allows the user to choose when images are acquired.

 

pause_get_image.PNG

Something like this should give you the behavior you are looking for.

 

Best regards,

Matt J - NI Tools Network
Message 2 of 3
(3,299 Views)

Here is the code to make this setup work

Matt J - NI Tools Network
0 Kudos
Message 3 of 3
(3,253 Views)