11-06-2006 03:01 AM
11-07-2006
12:44 PM
- last edited on
03-07-2025
06:59 PM
by
Content Cleaner
Dan,
Thank you for your interest in National Instruments. What type of acquisition do you need to do (1394, Analog, Camera Link)? It depends on how fast a frame rate/how fast you are taking measurements to determine what kind of system you need. What kind of data acquisition are you doing? If you want to synch an image with a measurement you need to set up a triggered acquisition in LabVIEW that will trigger the camera to start taking images as well as measurements. The main thing is that you will need a camera that can do triggered acquisition. It will have pins on the back for triggering. For this you will need one of our frame grabbers and a DAQ card. I have posted some links below that you should look through to determine what it is you want to do.
Data Acquisition Hardware
Frame Grabbers
Advanced Analog Triggering and Synchronization Techniques
Regards,
Mark T
Applications Engineer | National Instruments
11-15-2006 04:41 AM
Thanks Mark for your reply,
my goal is suggest to my chef some solutions....our measurements is 1kHz and higher and we want to acquire video at least 25Hz.. I thing there are 3 possibilities:
1) USB camera with software triggering
How acurate is this option? What I need? I now that camera which goes under DirectShow. Need I anything else? And how can I synchronize that with measurement?
2) FireWire with software or hardware triggering
My questions are the same. .. Can I use standart (public) camera? camera will be non-stop online and I acquire only same frames, is it possible and how can I do that?
3) Some your Imaq card with camera
Same questions.
Our DAQ has RTSI connector. I hope,i provide all important informations to you.
Thanks very much for your replies.
Dan
11-15-2006 07:00 AM
11-15-2006 09:15 AM
03-06-2007 02:08 PM
03-07-2007 10:27 AM
03-28-2007 05:46 AM
Thanks you very much Mark T,
this was very helpfull, but I have some more problems. I want to do something like pause in saving video...we have some voltage measurement and we start it by trigger signal, i want to acquire video on this signal but i want to see video all the time and some problems with time marks. I have to seek the frame according to time and the time is save in each frame as a data. For example I am going to capture data from 2 - 2,5s and from 5 to 6s, I want to have only one video with competent frames and when I want to read frames I want to seek them that I enter the time...
Thanks for your help
Dan
03-29-2007 02:23 PM
Hello Dan,
If you want to display the live video feed all the time but only write certain
frames to the AVI it's only a matter of programming. You will need an
outer while loop that is constantly reading images and displaying them.
Then you will also need a case structure within the while loop where the AVI
write frame VI will be. The Boolean input to the case structure will then
be determined from your data acquisition device's trigger. You will need
to read the trigger line and when it triggers execute the correct state of the
case structure to save that current frame in the AVI. Please note that
this methodology for saving an image by reading a trigger line on a DAQ device
is going to be very non deterministic. Since you do not have the ability
to trigger the camera the frame you are saving might not be the same frame the
data corresponds too. The trigger and data acquisition will happen in
real time but reading the trigger for purposes of saving images to the AVI file
will happen when ever windows executes that part of the code. So as long
as it does not have to be real accurate this might work.
So I assume that with each frame you are also writing a time stamp with the
image. To then perform a "seek" on the images according to the
timestamp it will just be a matter of iterating through each image, extracting
out the data, then comparing that data to the timestamp you need. As soon
as it finds the correct timestamp then update an IMAQ display with the correct
image. I hope this information helps. Thanks and have a great day.
Regards,
Mark T
Applications Engineer
National Instruments
04-12-2007 03:49 AM