10-13-2010 11:46 PM
Hi there
i am newbie with NI
how i trigger two camera simultanously to capture images in the same time exactly?
i use 2 frame grabber PCI 1422, 2 camera Pulnix TM1040, BNC 2121, PCI 6602, IMAQ D2504, and IMAQ D100.
i already have VI for triger one camera only, should i modify it or just copy paste for the second camera?
i am using LABVIEW 7
thank you
10-14-2010 04:38 PM
Are you happy with the code that works for a single camera? Does it provide the desired image results? What is the trigger source? Can it be routed to both cameras?
If the code works the way you want it to, there is no problem in replicating it for a second system. It simply depends on the requirements.
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments
12-22-2010 12:28 AM
the triger is an external triger generated by BNC 2121. the triger signal is can be routed to both cameras. (i checked with osciloscope). but i still have problem with generating the VI
12-22-2010 04:04 PM
inubus,
You should be able to synchronize the code you have right now (which works with a start trigger) with another set of code for the second board. There is an example that you should look at; this synchronizes a grab on two different boards. HL Grab with two boards.vi. You can search for this example using the NI example finder: Help>> Find Examples...:: Click on the Search tab, and select descriptions from the pull down (keywords by default). Type the name of the VI and the example should come up.
If you can't find this example I have a screenshot of the block diagram.
Alternatively you could wire the trigger into both cards and copy of what you have already written as Patrick mentioned (just changing some camera aliases) without any problems.
Hope this helps.
<Joel Khan | Applications Engineering | National Instruments | Rice University BSEE>
01-05-2011 12:56 AM
is there any minimum computer specification to grab a pair of image syncronizely and continously?because there is like '"bottleneck" when 2 input image come together to the computer cause my computer not responding anymore
01-05-2011 03:12 PM
Its odd to have issues with bottlenecking when it comes to Vision SW and programing. The reasoning behind this is because data transfers are done via reference passing.
What are you computer specs and OS?
<Joel Khan | Applications Engineering | National Instruments | Rice University BSEE>
01-05-2011 06:02 PM
i am using Windows XP
my computer spec is Pentium 4 2,7GHz with 512 MB RAM
01-06-2011 05:04 PM
Inubus,
If you have not modified the functionality of the VI I posted here I don't see why you would be seeing performance issues from a software standpoint. 512mb of memory is a low amount of memory especially if you have other applications running on the machine which could be reducing the memory available to labview further.
You could try to minimize the memory consumption of the VI by deleting the 2 image displays and recording the speed of the loop with the index output. See if that makes any difference.
Is it possible for you to try this on a newer machine?
<Joel Khan | Applications Engineering | National Instruments | Rice University BSEE>
01-18-2011 03:43 AM
i will consult with my advisor if there is a chance to run it with newer machine
anyway, this is my VI that should be can captured image from external trigger. but this is for one camera only.
is it correct if i just copy paste this VI to make it can capture image from two cameras syncronousyl with the one source external trigger?
i accept any suggestion to make it work
thx
02-17-2011 07:06 AM
Hi
As far as i did is i can trigger each camera with one trigger, so i have to triger twice to capture image from two camera.
But all i want is one trigger can capture the image from two cameras at the same time.
I can't find example that explain so
any sugestion to help me please?