05-31-2013 02:12 PM
Hi ,
I have a case in which I have 2 usb camera of same name hence my vi cannot distinguish which camera is which and it ends up taking picture from only 1 camera, please help me out. Is there a way to rename them either with labview or on windows 7.
Thanks,
06-02-2013 10:33 AM
I'm puzzled by your problem. We have an application with 24 cameras all saving simultaneously to AVI files, no problem. What function are you using to do the Grab? The IMAQ and IMAQdx Grab functions have, as an input, Session, which if you click on it and say "Create Constant", will create an I/O Constant that you should be able to click the down arrow and have it show you a list of cameras you've found in MAX. Simply choose the two (different) cameras that you want, and you should be Good to Go.
BS
06-02-2013 12:17 PM
@Bob_Schor wrote:
I'm puzzled by your problem. We have an application with 24 cameras all saving simultaneously to AVI files, no problem. What function are you using to do the Grab? The IMAQ and IMAQdx Grab functions have, as an input, Session, which if you click on it and say "Create Constant", will create an I/O Constant that you should be able to click the down arrow and have it show you a list of cameras you've found in MAX. Simply choose the two (different) cameras that you want, and you should be Good to Go.
BS
Hi Bob,
My program works fine if the camera name are different, but as if now I donot have differenct camera and wondering if I can use 2 usb camera with same name. is there somehow labview identify 2 usb camera with same name and type.
Thanks,
Ankit
06-02-2013 06:05 PM
If you plug a number of absolutely identical cameras into, say, a 4-port USB hub, and then open MAX, MAX will name them something like "Cam1", "Cam2", "Cam3", and "Cam4". If you now put down an IMAQ (or IMAQdx) function and wire a constant to the Session input, it will "turn into" an I/O constant. If you now click its "down arrow", you'll see you can choose Cam1, Cam2, Cam3, or Cam4. Simply pick the camera you want. The make and model of the camera are immaterial -- it's the name that MAX gives it. Note that if you want to use a name other than "Cam1", you can rename it in MAX to give it a name that is more meaningful to you.
That's basically what I said before. Have you tried this? Have you plugged in both cameras, opened MAX, and seen how MAX names them?
BS
06-03-2013 07:19 AM
Hi bob,
I am not sure how you meant to do that , I tried using that but it didnt work , the IMAQ usb Init takes is the Camera name and not the name from the MAX , My Vi is attached , please let me know where I am doing the mistake.
Thanks,
Ankit
06-03-2013 07:39 AM
Camera Grab.vi is missing...!!
06-03-2013 07:50 AM
@moderator1983 wrote:
Camera Grab.vi is missing...!!
Attached is the camera grab vi
06-03-2013 08:09 AM
Why are you not using "IMAQdx Enumerate Cameras.vi"...!!
Also the same code is attached in version 2009.
06-03-2013 08:20 AM
Thanks a lot, moderator1983,
I will try to use that .
- Ankit