Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I connect a firewire Camera in Grab and Save to AVI

I did not have time for my first run with the firewire camera, So I am trying again.

I am not sure why I cannot have the VI running and wait for a button press before capturing a avi.

Do I need to change where my timer is located?

This is what I am trying to do.

I need to add a 10 second timer to this grab and save vi, After I get this to work I would like to try and incorporate it into my first VI. (above)

Is there a way to have the avi index to the next file like within write to measurement?

Instead of asking for a new file each time the vi is called up? Any help would be greatly Appreciated.

 

Thank You

 

Richard

0 Kudos
Message 11 of 12
(829 Views)

Hello,

 

You probably want to take a look at event structures and state machine architectures.

Event Structures: http://zone.ni.com/reference/en-XX/help/371361F-01/glang/event_structure/

State Machine: http://zone.ni.com/devzone/cda/tut/p/id/3024

You would use the event structure to check for you button press and then move into your acquisition state. After each acquisition, you would check to see if the time had been reached and then go back to the acquisition if it had not. If the time was reached, you would go back to the state containing the event structure and wait for the next command.

 

-Zach

0 Kudos
Message 12 of 12
(810 Views)