04-05-2017 05:48 PM
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
04-06-2017 05:21 AM
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.