08-07-2013 03:44 PM
I tried FTP transfer the dll file to the RIO device. the RT MPU.vi can run without error. But the library does not appear to be called.
08-08-2013 08:28 AM - edited 08-08-2013 08:28 AM
Since the sbRIO RT controller is running VxWorks, you can only call .out files through the Call Library Function Node. Here are a few good resources pertaining to your question that you may find helpful:
-What Operating System is my Real-Time Controller Running and Why?
http://digital.ni.com/public.nsf/allkb/35F1FD98520D6E0E8625783A005AF557
-The Definitive Guide: Programming NI VxWorks Real-Time Controllers in C/C++
https://decibel.ni.com/content/docs/DOC-13537
-Can LabVIEW Real-Time Interface With External Code?
http://digital.ni.com/public.nsf/allkb/2EA49B05E67DDECF86256F9A006FB315?OpenDocument
-Calling External Code on VxWorks Targets
http://digital.ni.com/public.nsf/allkb/5A267EF5471758CA86257233006EF3D8?OpenDocument
-How do I Create a Stub DLL?
http://digital.ni.com/public.nsf/allkb/5E9F5B8AA7EEEEC88625793A0010CD20?OpenDocument
08-08-2013 03:57 PM
Daniel,
Thank you for your reply. I do find the .out file in the ~/ni-rt/system/ folder. However, when I try to call it using the call library function node, call lvanlys.out for example, I still get the "Failed to load shared library lvanlys.*:CxInvMatrixLUDri_head:C. Ensure that the library is present on the RT target..." error message. Any idea why this is happening?
08-09-2013 09:30 AM - edited 08-09-2013 09:35 AM
Are you able to call any .out files on the RT controller? Or is it just the lvanlys.out file that is giving us trouble?
08-09-2013 10:05 AM
I worked through the examples online and I can call the fib.out library that I create and transfer to the ni-rt/system folder. However, I cannot call the .out files that is originally in that folder, such as the lvanlys.out.