Synchronized capture for multiple USB cameras

I need to capture images from 8 USB cameras at the same time.  I don't need to continuously acquire images (just one set every few seconds), but I need the 8 cameras to capture at very close to the same exact time.  Just testing with two cameras at the moment, and one camera always seems to capture about 0.4 seconds after the other.  Attached is the current VI I'm testing with.
Any idea how to speed this up?  I thought having both grab.vi's in a separate frame would help make them occur at the same time, but it's still a lot slower than I hoped for.  Thanks for any suggestions.
Attachments:
Grab USB frame manual.vi ‏46 KB

All depends from precision. 100 ms is not bad result. For better precision I would like to suggest to use cams with external triggers. The cameras with USB interface are also available, for example:
http://www.thorlabs.de/newgrouppage9.cfm?objectgroup_id=2916
http://www.edmundoptics.com/products/displayproduct.cfm?productid=3356
http://www.ptgrey.com/news/pressreleases/details.asp?articleID=230
Otherwise they may be incompatible with IMAQdx (the only DirectShow compliant cameras are supported). Point Gray Chameleon seems to be DirectShow compatible.

Similar Messages

  • Can I use my ipad2 as a monitor for flexible USB camera

    Can I use my ipad2 as a monitor for flexible USB camera. I have a flexible camera that connects via USB and has LEDs at the lens for illumination.

    Not unless it is wifi and has an app.

  • How to capture image from USB camera in Labview 2010

    Hey all,
    I am very new to Labview but am working on a project that requires me to use a sensor to send a signal to Labview to capture an image from a USB camera and save.  Then apply some image processing to do some geometric calculations.  The calculation will be based on pixels so I guess the image needs to be in bitmap form.  Right now I am just trying to start with the image acquisition part and was wondering if this can be done in Labview 2010.  I have the vision toolbox and NXT Robotics.  Are there any examples on this website that will help and do I have te proper tools to do this?  Once I get the image capture/grab to work using labview, then I could work getting a sensor signal to trigger that capture and finally the processing side. 
    Like I said, I am very new to this so I am not sure if I need to download any particular drivers or vi's that I am missing or what those might be.  Can someone provide some insight, links, or any help would be appreciated.
    Thanks in advance for any help/suggestions.

    Hi wklove,
    In order to do vision with LabVIEW you need to to have the Vision development module and have NI Vision Acquisition Software (VAS) installed. It sounds like you are missing VAS you can download it here. Once you have this installed you should be able to see your camera in Measurement and Automation (MAX). After you are able to see the camera, take a look at the NI Example Finder by going to Help » Find Examples
    Joe Daily
    National Instruments
    Applications Engineer
    may the G be with you ....

  • Hang/delay starting up multiple USB cameras?

    This one has been going on for a while, but it's been inonsistent in behavior with different computers and different configurations.
    Our Flex application uses two cameras, user selectable from our interface.  I've got a stripped down version of the code (done as a web app from Flash Builder) that I've pasted below.  It has two dropdowns to select the cameras, and a preview display area for the selected camera.
    It appears that, depending on the USB bus configuration and where the cameras are, it will either work correctly or hang for an indeterminate amount of time (usually over 30 seconds) when a second USB camera is selected.  I've been able to reproduce this fairly consistently if both cameras are plugged into a hub.  On other computers in our office, it will work with the cameras plugged into one set of ports but hang when one of the cameras is moved to another port.
    Another note, if I leave the camera in default mode (320x240, 15FPS) everything seems to work consistently.  If I leave the resolution at 320x240 and change the frame rate to 30FPS, it also works.  However, if I change the resolution to 640x480, it will have the delay.
    Any suggestions on this?  Yes, we need to have both cameras, and yes they need to be 640x480.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   minWidth="955" minHeight="600"
                   creationComplete="onInit(event)">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayList;
                import mx.events.FlexEvent;
                import spark.events.IndexChangeEvent;
                [Bindable] private var cameraList:ArrayList;
                protected function onInit(event:FlexEvent):void {
                    cameraList = new ArrayList(Camera.names);
                protected function onCamera1Change(event:IndexChangeEvent):void {
                    var cam:Camera = Camera.getCamera(event.newIndex.toString());
                    cam.setMode(640, 480, 15);
                    cam1Preview.attachCamera(cam);
                protected function onCamera2Change(event:IndexChangeEvent):void {
                    var cam:Camera = Camera.getCamera(event.newIndex.toString());
                    cam.setMode(640, 480, 15);
                    cam2Preview.attachCamera(cam);
            ]]>
        </fx:Script>
        <s:HGroup width="100%" height="100%" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10" gap="10">
            <s:VGroup width="100%" height="100%" horizontalAlign="center" gap="10">
                <s:Label text="Camera 1"/>
                <s:DropDownList id="cam1List" dataProvider="{cameraList}" change="onCamera1Change(event)" width="100%"/>
                <mx:VideoDisplay id="cam1Preview" width="320" height="240"/>
            </s:VGroup>
            <s:VGroup width="100%" height="100%" horizontalAlign="center" gap="10">
                <s:Label text="Camera 2"/>
                <s:DropDownList id="cam2List" dataProvider="{cameraList}" change="onCamera2Change(event)" width="100%"/>
                <mx:VideoDisplay id="cam2Preview" width="320" height="240"/>
            </s:VGroup>
        </s:HGroup>
    </s:Application>

    Dear everyXnewXday,
    I'm as mystified as you are. This sounds exactly like my issue. Have you tried starting up in Verbose mode (hold down cmd-V on startup)? This will give you a running log of events that occur during startup, and may indicate where errors are occurring that the operating system has to resolve or work around in order to proceed. I'm no expert in interpreting this information, though, which is why I posted this question in the event others have ideas about how to reduce the amount of computational "red tape."
    Do you have many external drives or other peripherals connected to your computer? One thing I have noticed in the startup sequence is that the OS has some difficulty recognizing or mounting some of them (in particular, a Seagate FreeAgent USB drive). Not sure if this is a driver issue, but I believe I have the most current drivers for all my external drives.
    - K725

  • Any chance for a USB cam?

    Hi.... I've just got myself a MacBook so I'm thinking of passing my old iBook G4 to my partner. Would it be remotely possible at all for him to use iChat (v. 3.1.5) with a pretty standard usb web cam? Or, what is the alternative? We live 11,000 kms apart now.
    Thanks!
    iBook G4   Mac OS X (10.4.7)  

    Hi
    To use a USB cam you will need this http://www.ecamm.com/mac/ichatusbcam/
    Cam's and drivers http://www.ecamm.com/mac/ichatusbcam/configs.html
    Tony

  • Multiple USB Camera's

    I want to use two USB web cam's (Both Agent V6 from Liquiddigital) on my Mac Mini.
    All programs show both cam's but whatever I choose I see images from one of them.
    How can I make OSx support both cam's at the same time?

    Addition to my previous question; If I have just one application using a webcam, I can switch to the other but when one of the camera's is in use by an application I can't have another application use the other.
    The reason that I'm posting this question is that I'd like to use the SKJM Icam software for remote monitoring multiple webcam's on my iPhone but it seems that OSx only supports one webcam at a time.

  • Separate Analog Input/Output Tasks for Multiple USB-Daq 6008

    Hello, In my application I'm using two separate USB-6008 DAQ devices, they are to be used simultaneously,
    i.e both tasks will start in a same loop, there are both writing to some channels and sampling some data from
    some channels, the problem is, when I'm trying to define a task, via Daqmx base Configuration Utility, I
    sucseed at defining the task, for the first Device, but unable to define nearly same task but for the
    different Device, since the OK button is grayed out (Disable).
    I'm using Labview 7.1 and a NI-Daqmx base ver. 2.0
    Following attachment shows what I'm talking about.
    Attachments:
    daqmxbase.JPG ‏59 KB

    Actually it is not the easiest to use the full version of daqmx is easier, It is also very easy to set this up in MAX (measurement and automation explorer) What version of labview are you using. have you made sure that the device is recognised in MAX and that the device number is correct. i have a couple of 6008 and have run them alot without any trouble so it must be the way you have things setup. Could you post a section of the code that gives  you the error. also try running each device in max with the test panels for each one and see if it works there.
    Joe.
    "NOTHING IS EVER EASY"

  • Double click event to be captured for multiple fields in the same screen

    Hi all,
    I am doing one module pool development in which the requirement for one screen is like when I click on a particular field (BP number), it should go to a particular transaction and when I click on Loan number on the same screen, it should goto another transaction. I had set PICK for F2 in GUI status and also used GET CURSOR FIELD <field>. The ok code is coming as 'PICK' but GET CURSOR FIELD is not working and I am not getting the field that is been double clicked, because here I need the field that is been double clicked. Is there any other settings to be made or is there any work around for this. Please Help.
    Regards,
    Harikumar

    Thanks everyone. I have solved it.

  • Capture image from usb camera::step

    hi 
    i want use labview to caputre image from my webcam 
    what are the ni drivers that required or step??
    i use la 2012
    regards
    hi ?Q>

    Duplicate. Discussions will continue over there.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • MAX cannot find two usb cameras at same time

    Hi,
    I want to use two usb cameras (Thorlabs DCC 1545M) in NI-IMAQdx in Labview, but it can only find one camera (the one plugged in earlier), and also only one camera is shown in MAX. Both cameras works in the software from the manufacturer, and if I unplug the 1st camera, the 2nd will show up in MAX after a refresh. 
    I found online that up to one camera is supported for each USB hub in Labview, and all USB ports in this computer are corresponding to a same hub. I don't know if this is causing the problem.
    Actually I don't need to take picture in both cameras at the same time, a programmed switch between the two cameras will work for me. 
    Any suggestion and comment will be appreciated.
    Solved!
    Go to Solution.

    Hello JYang,
    According to this link, you can acquire from multiple USB cameras simultaneously.  The limitation is on the manufacturer and how they interface with the DirectShow bus.  When you are using two cameras of the same make and model, it is sometimes the case that not enough information is present for IMAQdx to distinguish between the two cameras.  When you switch the cameras in MAX, do they come in as different cameras, or do they show up virtually the same?
    Since you said switching between them would work, I found an example that does just that.  Just make sure to give each camera a unique camera name.  Hopefully this will be useful for you.
    Also, there is quite a bit of discussion on this topic available on the discussion forum already.  Check out these related threads, or use the Search box to search for more.  There is quite a lot of information available!
    http://forums.ni.com/t5/LabVIEW/multiple-USB-cameras-in-Labview/m-p/833517
    http://forums.ni.com/t5/Machine-Vision/two-USB-camera-identification/m-p/2193960
    http://forums.ni.com/t5/Machine-Vision/Synchronized-capture-for-multiple-USB-cameras/td-p/1879647
    http://forums.ni.com/t5/LabVIEW/Multiple-USB-Camera-Image-Acquisition-using-Vision-Acquisition/td-p/...
    Patrick
    CLA

  • Bypass webcam for usb cam

    How do I bypass my webcam(built in) on intel mac, for a usb cam?
    Message was edited by: andrewsangst11

    Hello,
    The link given to you by smecurio_fc on the duplicate post is a very good starting point for your application.  Please try to avoid multiple postings on the same topic.
    Regards,
    Clint M
    National Instruments

  • Which is better for usb camera between VISA and imaqdx in labview 2010?

    i have done a program for usb camera to acquire images with imaqdx.
    now i want to know which is better between VISA and  imaqdx in labview 2010?
    i didn't study visa before
    thans for help.

    VISA is primarily used to communicate with instruments via GPIB/TCP-IP/Serial/USB. In order to use easily VISA with an instrument over USB the instrument must adhere to the USBTMC spec. A camera is not likely to have this. Otherwise you have to use USB RAW, and that requires detailed knowledge of the data that is transmitted by the instrument. Manufacturers rarely give this information out. Normally they will provide a DLL to communicate with the instrument.
    Thus, in your case, VISA is not going to be an appropriate API to use for a USB camera.
    Out of curiosity, what prompted this question?

  • TCP/IP USB camera

    hi..
          I was wondering how is it possible to send the images i capture using my USB camera wirelessly using TCP/IP to another computer (COM2) enabling it to show the same continous image on both computers. Below is my program so far.. For the file ( USB + Joystick Integration 2) Images can be seen in the VI file in (COM1) however unable to show on the (COM2) which is already connected togther using TCP/IP.. The file (faffafafaf) is the VI i use on the (COM2)..
    COM1 is the computer with the USB camera**
    Btw, one more question, Lets say i got a joystick connected to a computer(COMA) does it means COMA have to be the server of the program is i were to transfer the data to another computer(COMB) .. Can it be the Client also??
    Attachments:
    USB + Joystick integration 2.vi ‏57 KB
    fafafafafafafafaf.vi ‏43 KB

    Hi, Thanks for the help.. and i will take note of the side-note...
    I understand a computer can be both a client or a server, actually what i mean is cause my joystick is connected to a labtop, data will be obtained from the labtop then send out to the desktop... so i wondering if i make my labtop as the client, can it still perform the same operation like sending data over to the desktop>?
    Yup, My computers is connected together a wireless network together..
    Below are the attached VIs..  i Began to get errors like ( Invalid Image) and the image i can view in the computer my USB camera connected to is no longer viewable.. In the file( Testing Camera 1)  i convert the image into 2D Array as instructed then i flatten it into string and send it over wirelssly.. Did i make any mistake?  At the labtop side ( Testing Camera1-Client) , I Unflatten the data i obtained from (Testing Camera1) and convert the 2D Array back into an image however no image is being processed still.. Please help.. Thanks..
    Attachments:
    Testing Camera 1.vi ‏59 KB
    Testing Camera1-CLient.vi ‏50 KB

  • Get an image from USB cam without NI VIsion Acquisition

    HI
    I am looking for a way to capture images from USB cam without using a paid library ImaxDx for Labview.
    Have you any ideas?

    Hello MaxEngee
    Off hand, I suppose you could run the third party capture software in the background and have a LabVIEW scan the target directy for changes/new images and import the image as necessary.
    In the mean time, if you install the NI Vision Acquisition Software, you do have a 30-day trial period so perhaps you may consider exploring the environment to see if it is right for you.
    NI Vision Acquisition Software 2011.09 - Windows 7 x86/XP/Vista/7 64 bit
    http://joule.ni.com/nidu/cds/view/p/id/2625/lang/en
    Thank you for choosing National Instruments!
    Sincerely,
    Greg S.

  • IMAQdx change fps adquiring with USB camera

    Hello,
    Im working with Labview to process images captured with an USB camera. I would like to know how to change the adquiring conditions of the camera, in special the frame rate per second (fps), the video mode and the resolution. I need to change this parameters in real time, while the program is running.
    Thank you.
    Solved!
    Go to Solution.

    Hello again!
    I have yet not found a single camera where the frame rate was not changable. Maybe you need to change the video mode.
    I have created some snippets for you to play with (attached). Drag and drop the images to a vi block diagram to copy the code (You might have to save the images to disk first).
    Best regards
    Attachments:
    Get camera attributes types and values.png ‏54 KB
    Set camera VideoMode.png ‏66 KB

Maybe you are looking for

  • (Invoice aging report =   Cash Requirement Report)

    hi, The total balance for cash requirement report for specific supplier not match with the balance for Invoice aging Report also for specific supplier The expected behavior: It must to match the balance between the two reports (Invoice aging report =

  • How to import flat file as a source in DAC Client

    Dear All, I am doing some R&D,I have a problem that how can i import the flat file in DAC client which i am using as a source. Can any one please explain in detail step wise. Regards Tarang Jain

  • User name for Enterprise Manager

    I finally got the oracle Infastrucure installed, but now I'm a little lost. During the install it never asked for a user id only a password, now when I bring up the WEB page for Enterprise Manager it ask for USER ID and Password. Can someone tell me

  • OS X (10.5.2) constantly changing set default programs

    After upgrading to Leopard from Tiger I am encountering the following problem: OS X is constantly changing my set default programs to whatever is the default when you install it fresh. For example: I have Firefox set as default for webbrowsing, Adium

  • Installation failing with error code 1603

    [Topic title updated by moderator to be more descriptive. Was: "Please help me"] i use skype everyday to talk to my friends and it said i need to update a while ago but it doesnt work but i thought that it wouldnt matter and i could still use the old