I use a formula node to excute some annoying code on myRio linux RT, but everytime I run the VI containing the formula
node it pops a warning immediately after compilation : Connection to the target (myRio) has been lost.
Afterwards, I try to write the formula in C code and wrap it as a shared object (.so) and deploy it on the linux RT. The wierd
thing is that the warning continues to show up everytime I call the shared library using a Call Library Function Code.
Finally, I rewrite the code using Mathscript RT Node, it works although very slow and it does'nt achieve my performance requirement.
Also, I comfirm that the same formula node works just fine in PC enviromment.
After some searching, I think it may be because of the too many variables declared in the function, which use up the
allocated memory or CPU time. But I think it should not have been the case when I call a function from shared library