LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use shared libraries such as lvanlys.dll for matrix inversion on a sbRIO device?

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.

0 Kudos
Message 1 of 5
(2,346 Views)

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

dK
0 Kudos
Message 2 of 5
(2,320 Views)

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?

 

0 Kudos
Message 3 of 5
(2,310 Views)

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?

dK
0 Kudos
Message 4 of 5
(2,297 Views)

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.

0 Kudos
Message 5 of 5
(2,291 Views)