05-29-2013 03:53 PM
I am using a program that runs three different cameras. I have a loop and a program that displays a live feed of the images and a loop that records the images. I have found that the loop that records the images also displays the images. I keep getting an error that says
Error: 1074360310 occurred at IMAQdx Open Camera.vi
Possible reason: NI-IMAQdx (Hex 0xBFF6900A) Camera is already in use.
How can I fix this? Should I kill the live feed and then run the recording? Should I try and blend the two loops?
05-29-2013 11:47 PM
Share your code to get us the insight..!!
05-30-2013 08:09 AM
Without looking at the code this is mostly a guess but are you opening the cameras in every loop pass? If so are you closing the loop in every pass? The error indicates you are trying to open what is already opened.
Now's the point where we give the traditional "Show your code" chant echo.
Wire Warrior
05-30-2013 04:52 PM
Hello,
Make sure that your camera is not selected in Measurement & Automation Explorer. When MAX connects to the camera to get the attribute information the camera is in use by MAX. Then see if you can run one of the Grab.vi examples that ship with Vision Acquisition Software. You can find it in LabVIEW under Help >> Find Examples >> Hardware Input and Output and depending on your version of Vision Acquisition Software the examples should be under "NI-IMAQdx >> HL Grab.VI" or "Vision Acquisition >> NI-IMAQdx >> HL"