11-05-2009 08:46 AM
Hi,
I am using Labview 8.6. from my Toshiba laptop Tecra. I like to display two scA1600-14gm GigE cameras simultaneously, which are connected through normal Ethernet. The frame rate is not so important for the time being at test stage. I also want to control the exposure time. If I just have one camera, I can get image and control the exposure time, see ( test-one-camera-oneshot-loop.vi). However, when I tried to put two together, see ( test-two-camera-oneshot-loop.vi),it does not work. Take ages to stop.
I then tried grab.vi example for two cameras (test-two-camera-grab-0.vi) , the display is messed up, the similar things as Richard Swent described.
any suggestion is very much appreciated.
Xiaofeng
Solved! Go to Solution.
11-05-2009 09:45 AM
One issue is that your property nodes are in parallel with your image acquisition. You should put them in series with the acquisition so you know the property node is changed before the acquisition starts. I don't know if this will fix your problem, though.
It looks like you are configuring a one shot capture inside the loop, but never closing it. You could probably move the configuration outside the loop to save time. I would also consider just using Snap, which would do the same thing you are trying to do.
That's all I've got for now. It is hard to troubleshoot this type of problem without the hardware.
Bruce
11-05-2009 12:12 PM
Thanks, Bruce.
I did use Sequence to place the two acquisitions, I can have two image displayed if I don't need to change the attributes from labView. just like what you suggested (.i.e move Configure acquisition.vi outside the while loop).
But, I do need to change. once I put Configure acquisition.vi inside the while loop,
labView "highlight" passed the seqncence first time, then stopped second time at calling Configure acquisition.vi. However, if I only have one camera, there is no problem in calling Configure acquisition.vi in a while loop.
any suggestion?
cheers
Xiaofeng
11-05-2009 02:17 PM
If you are going to configure every time through the loop, make sure you are doing the equivalent "unconfigure" in the loop as well. That might help.
Bruce
11-06-2009 08:00 AM
Many thanks, Bruce. after adding unConfigure, it worked for me in LabView-8.6. I attach the VIs in case someone is interested. bB the way, I also tested my original VIs with Labview-9, all of them worked. using Grab for two cameras worked as well. I guess there must be some issues with MAX driver for GigE in 8.6.
again. thanks.
Xiaofeng