From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-02-2012 06:29 PM
Hi,
I'm trying to talk to a point grey chameleon USB camera with Labview using ActiveX.
I was able to register the DLL and display the live image and change the settings (shutter, gain, etc.). When I tried to get the image data using the "GetImageData" method, Labview crashed with the error message "Exception: Access violation" (See the attached figure). I also tried to using the "SaveImage" method. It sometimes crashed, too. But it can only save 8-bit pgm files and we need to have 16-bit (12-bit actual resolution).
I'm using Labview 2011 SP1 (32-bit) on windows 7 (64-bit). The camera model is CMLN-13S2M with the Flycapture 2.3.1.8.
Does anyone get the camera to work properly to be able to get the image data in 16-bit?
Thanks,
Joseph
05-03-2012 05:31 PM
Hi,
I have two suggestions for you. First I would like to recommend you follow these steps to verify that there is no problem with your dll and project configuration:
My second advice is to use the National Instruments Vision and Acquisition software to interface LabVIEW with you camera.
Warm Regards,
Miguel Fonseca
National Instruments - Applications Engineering
05-03-2012 05:59 PM
Hi,
Thanks for your reply.
I'm using the activeX control and not call library function nodes. I'm not familiar with the point grey camera dll.
Thanks,
Joseph
05-03-2012 07:20 PM
ActiveX control?
Do you have a VI showing exactly what you are talking about?
05-04-2012 01:15 PM
Hi,
Here is the code I got from point grey tech support. You will have to install the point grey Flycapture SDK to be able to run it. You can modify the code and use different methods (such as GrabImageData).
Thanks,
Joseph
10-18-2013 02:21 AM
11-27-2015 07:47 AM
Same problem with Grasshopper3.
11-27-2015 08:46 AM
When you open the VI that Point Grey provides, is the ActiveX Control "active"? On my machine, it says "Control could not be loaded" because I do not have their SDK.
The other suggestion, from NI, was to use LabVIEW's Vision tools (for which you need the Vision Toolkit). Does your camera show up in MAX? If so, and if you have the Vision Toolkit, this may be a simpler way to go. Here is what MAX shows me for my PC, which has three cameras (two USB, one Ethernet) attached:
Bob Schor