04-16-2015 04:02 AM
I built balancing robot using myRIO. It does perform very well and I can control it over wifi. The setup I have now is pretty straight forward: I can control it and set PID and Kalman (gyroscope accelerometer) values. However, there are significant delays associated with wifi connection. So if I am happy with my robot performance over wifi (set all the controls) and then I deploy my program onto myRIO - the robots performance changes since the program is running on myRIO now and there is no bottleneck associated with sending data back and forth between computer and myRIO.
To avoid that: Is it possible to run program on myRIO but have a connection to all necessary controls over wifi?
Regards,
Drakon
Solved! Go to Solution.
04-16-2015 07:06 PM
Drakon,
It sounds like you want to use your computer as an HMI that will read to and write from network shared variables that your myRIO can also connect to.
http://www.ni.com/white-paper/5484/en/
It is pretty common to push all of the processing over to a real time controller while having a user interface on a computer that will basically just read and write shared variables. I am not sure if that is what you were asking for though, could you explain what you are currently doing on your myRIO and your computer, the problems you are having with your current configuration and what you are looking to change?
04-18-2015 04:09 PM - edited 04-18-2015 04:28 PM
Matt - I belive that should do it.
I am basically excuting code on my PC and connecting over wifi to myRIO. Previously I used USB cable and I can see noticable difference between the two methods.Morever, when code is deployed on myRIO - it performs even better than over USB. So ideally the solution you provided - using shared variables should be the best.
BTW: is this available on student edition of labview?