LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying thinkgear.lvlib in NI-myRIO-1900-030c1981

Solved!
Go to solution

I am trying to get connect a neurosky mindwave EEG headset to myRIO and I keep this error whenever I try to deploy the code in myRIO. The last line in the deployment status is as follows:

 

Deploying thinkgear.lvlib:_TG Set Data Log.vithinkgear.lvlib:_TG Set Data Log.vi loaded with errors on the target and was closed.
LabVIEW: Failed to load shared library thinkgear.dll:TG_SetDataLog:C . Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.

 

 To get rid of this error copied the whole thinkgear.lvlib and thinkgear.dll in Y:\C\ni-rt path in myRIO using FTP. But i don't know this is the right way to load a library. Have i done something wrong? may be this is not the correct way to share a library file. 

But here problem is continued, it shows again the same message. 

 

Eagerly waiting for response.

 

Thank you for your help.

0 Kudos
Message 1 of 19
(3,814 Views)

I have the same issue... did you find a solution?

0 Kudos
Message 2 of 19
(3,721 Views)

Hi Eng,

 

do you think your myRIO is able to call functions from a Windows DLL?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 19
(3,717 Views)

You can't sure a .dll file on the myRIO. 

It is NOT a windows PC. It runs a NI Linux disribution. 

If you want to use this code on the myRIO, you need the right drivers for Linux and change the code.

0 Kudos
Message 4 of 19
(3,716 Views)

I think so. How can I check this? MAX -> myRIO software? 

Thanks for the quick reply btw ❤️

 

0 Kudos
Message 5 of 19
(3,710 Views)

You think so what ??

0 Kudos
Message 6 of 19
(3,704 Views)

Sorry dkfire, I was replying to the other post above yours. 

Hmmm so the myrio runs linux and it is impossible to read dll's? 😞 is there any way to go around this? 

0 Kudos
Message 7 of 19
(3,702 Views)

The Linux OS does not use dll's 

 

There's some discussion links here:  https://forums.ni.com/t5/LabVIEW/MyRio-using-shared-Library-dll/td-p/2816390

 

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 8 of 19
(3,695 Views)

hey ENG

I did'nt find any solution yet. Do u?  

0 Kudos
Message 9 of 19
(3,683 Views)

Hi,

Not yet... trying different things and keep researching but so far no joy 😞

Here's where I'm at when I try to run the program on myRIO (running just fine in windows)... ->

"Initializing...
Calculating dependencies...
Checking items for conflicts. This operation could take a while...
Preparing items for download. This operation could take a while...
Deploying thinkgear.lvlib
Deploying NeuroSky Driver.lvlib
Deploying VAL-NI-myRIO(successfully deployed target settings)
Deploying NeuroSky Driver.lvlib:serialDataFormat.ctl (1.47 K)
Deploying thinkgear.lvlib:_TG Free Connection.vithinkgear.lvlib:_TG Free Connection.vi loaded with errors on the target and was closed.
Deployment completed with errors"

0 Kudos
Message 10 of 19
(3,673 Views)