12-15-2014 05:34 AM
Hi everyone,
I want to aquire 30 fps with a resolution of 960x720. It doesn't matter in what format. (In a different LV program I want to open them).
I want to simultaneously look at a triggermoment to see at what framenumber he triggered. (so it has to work realtime)
What is the best way to do this (with not too big size)
Probrably this is very vague, because of my bad english, so please answer what you think I mean and I can explain it better.
Best Regards,
Henk
12-15-2014 05:58 AM
12-15-2014 06:16 AM - edited 12-15-2014 06:25 AM
I have vision, but I want to record everything, before and after triggermoment, at that point I just want to save the framenumber to a textfile, so I can open it in a different VI.
edit: Example triggered grab.vi didn't work, he says attribute not supported by the camera
12-15-2014 06:35 AM
12-15-2014 06:48 AM
-"Record everything" ? if i understand correctly may be you are referring to live images without trigger?
I want to press on a button 'record'', from that moment till I press stop, I want to save all the frames (30per sec.), at the same time (while he is recording) I want to detect a trigger (see next question)
-How you are triggering?
I have a device that drives a steppermotor, if I press a button (hardware on the device) the program must save just the number (pe. 534) to a textfile, so I can later open the frames and set a cursor in a graph or something by that frame.
-are you able to access camera in MAX?
What do you mean by MAX?
12-15-2014 07:26 AM
12-15-2014 07:49 AM
Thanks for your response, I use the grab function (see attached vi), but the .avi's becomes very big (pe. 36 sec 3,4 GB!), also, he seemes to skip a few frames, because if i record a stopwatch it has less frames. I can't open your examples in other topics, because I use LV 2010 fall.
12-15-2014 08:11 AM
Is it also possible to capture with a square resolution (like 720x720), If not, is it possible to change the resolution afterwards?
12-16-2014 02:55 AM
Ignore the question about resolution above, it isn't important anymore
12-16-2014 08:43 AM - edited 12-16-2014 08:49 AM
Now the size is normal (I changed the codec to Microsoft video 1), The problem that remains is the fps...
edit: If I record 1:10 afterwards I check the properties and he says: duration: 1:02, also he skipped many frames, anyone an idea?