LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Recording video output from Basler camera acA2500 60um with stroboscope

Solved!
Go to solution

 

Oh, dear, this is a bit complex.  Here's the general idea -- you need to tell the "Make AVI" two things -- the number of the First Buffer (which you get from the Camera when you push the Record Button) and the number of the Last Buffer (which you get from the Camera when you push the Stop Record Button).  I've done this with Queues, but it actually might be easier with a Notifier (I've done it both ways, and neither is easy to explain).

 

You can use an Event Structure to note when a Record button in pushed -- it can get the Current Buffer from a Camera Property Node and call the "Make AVI" function with the first buffer.  The Make AVI routine can query the Camera to find out the Current Buffer, and as long as it hasn't saved it (but has saved lower buffer numbers), it can retrieve the unsaved buffers, save them, then save the Current Buffer.  At some point when you push "Stop Recording", you tell the Make AVI routine "This is the last to save", and keep saving until you get there, then close the AVI.

 

Give it a shot, and try it out.  If you get stuck, come back and we'll be here to help.

 

Bob Schor

 

 

 

 

0 Kudos
Message 11 of 11
(576 Views)