LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCV with Labview on NI1752 camera

Hi,

   I would like to use opencv algorithms for image processing on the NI1752 camera.  I have created the dll and added it to the project where I call it using 'Call library function node' .  The vi works fine on saved images on the system but when I upload it to smart camera, it shows 'broken vi' error.  Can someone help me regarding this?

 

Best,

Joe

0 Kudos
Message 1 of 2
(2,585 Views)

The NI 1752 camera is a Power PC powered embedded controller platform running VxWorks as operating system.

DLLs have absolutely no meaning on VxWorks. You'll have to recompile your C code with the GNU C toolchain, that NI provides links for in this document, into VxWorks .out shared library modules.

But there are of course a few caveats:

- The GNU C crosscompiling toolchain is old and using a GNU for Windows subsystem that does cause errors when executed on newer Windows versions. I have created for myself a VirtualBox Windwos XP virtual machine to run this software on.

- You will likely have to compile the relevant OpenCV libraries too for VxWorks.

Rolf Kalbermatter
My Blog
Message 2 of 2
(2,527 Views)