02-24-2017 03:06 AM
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 i 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.
Solved! Go to Solution.
03-17-2017 09:37 AM
I have the same issue... did you find a solution?
03-17-2017 09:41 AM
03-17-2017 09:42 AM
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.
03-17-2017 10:03 AM
I think so. How can I check this? MAX -> myRIO software?
Thanks for the quick reply btw ❤️
03-17-2017 10:18 AM
You think so what ??
03-17-2017 10:26 AM
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?
03-17-2017 11:05 AM
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
03-18-2017 01:02 AM
hey ENG
I did'nt find any solution yet. Do u?
03-18-2017 08:29 AM
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"