04-22-2013 09:07 AM - edited 04-22-2013 09:32 AM
Hi,
I'm using a DirectShow supported CMOS-USB-Cam (ICube NS41133BU, Net-GmbH). This camera is shown correctly in the Measurement&Automation Explorer under NI-IMAQdx Devices. I can also access and change several parameters of the cam.
BUT: when I want to change the exposure time of the camera (which is a crucial parameter for my application) I can only enter some numbers which are always two times the number before (e.g. 0.1, 0.2, 0.4, 0.8, 1.6) --> I can not chose the exposure values I want because when I implement this in my Vi and enter a certain value for the exposure time, the camera will use another value (the next smaller value which is available). However, this seems not to be a problem of the camera driver or DirectShow support since this is working perfectly with other software like "AMCAP ".
http://www.noeld.com/programs.asp?cat=video#StillCapLib
Any solutions?
Thanks in advance!
Philipp
Solved! Go to Solution.
04-22-2013 09:33 AM
04-22-2013 10:26 AM
Thank you Eric!
This really seems to be the explanaition.
Ok, now I know what is the problem, so how do I solve this?
Another camera will change nothing.
I also tried to use the the SDK-DLL-files in Labview to access the camera-functions via those DLLs, however, this did not work since i got errors.
But there has to be a solution, it has to be possible to use every exposure values within Labview. There are surely other people who need this.
Any ideas?
04-23-2013 05:10 AM
04-25-2013 06:50 AM - edited 04-25-2013 06:50 AM
Thanks again Eric!
I contacted the vendor (net-gmbh), maybe they can support me with a Labview-Vi.
Basically it should also be possible to manage the implementation of the driver DLL (I also have *.h and *.cpp files, however I am not familiar with C++) in LabVIew and access the defined functions in the DLL, right?
Regards
Philipp
04-25-2013 09:04 AM
Yes, there are VIs available for exposing the image internals such as pointers to image data that 3rd-party code can use to integrate with their own SDK/driver functions. Depending on how their functions are defined it might be trivial to wrap them as-is in LabVIEW or you may have to compile your own C wrappers.
Eric