LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trouble adding 2 time delay capture times

Hi, 

 

I have a camera connected to my laptop via USB. I have created a simple program in LabVIEW using the IMAQdx functions that opens the camera, snaps a photo, writes it to a file and closes camera. I have done this in a for loop because I want 20 images to be taken and with a time delay of 1000ms. That all works fine. However, now I want to have 2 time delays. For example, I want the first 10 photos to be taken at with a delay of 1000ms between them and the next 10 images to be taken at with a delay of 500ms between them. I have tried adding two for loops where data rom the first goes into data of the second, I am not sure if that is the right idea, but it is not working anyway. 

 

Any suggestions or guidance would be much appreciated.

 

Thanks,

Grace

0 Kudos
Message 1 of 2
(1,175 Views)

Looking closely that the code that you failed to attach, I'm not quite sure where you are having difficulty.  Perhaps if you attached your actual VI so we wouldn't have to guess what you are trying to do, we might be able to offer better guidance.

 

Bob Schor

0 Kudos
Message 2 of 2
(1,172 Views)