11-03-2021 04:44 PM - edited 11-03-2021 04:47 PM
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
11-03-2021 04:48 PM
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