08-30-2012 07:08 AM
Hi
I am using a USB Cam under LabView. Therefore I have to implement some Low Level functions which comes along in a dll from the supplier. On the other hand I have to use the NI-Imagdx function for identifiaction. So far each part does work without problem while the supplier of the cam uses a Camera ID (integer value) for accessing the cam, Labview uses sessions to connect the cam.
Question:
- I need both parts for the low level functions AND the LV-fucntions in one vi. How can I connect the cam when the dll's uses a Cam ID and the NI-Imaqdx uses sessions? How can I "convert" or bring both code parts together?
thanks in advance
Solved! Go to Solution.
08-30-2012 09:16 AM
Hi,
The short answer is: You can't.
Unless the IDS drivers allowed they camera to be opened simultaneously with their own SDK as well as via DirectShow (which IMAQdx is using here) then both cannot access the same device at once.
Eric
09-02-2012 01:43 AM
You can have a user input 'control' in front panel and select the camera ID every time it is connected to any USB port. If you hard code your USB port ID or camera ID, It will not run on other PC's.....