FIRST Robotics Competition Discussions

Showing results for 
Search instead for 
Did you mean: 

Real-time plotting

I am using our robotics team's RoboRio to develope a real time VI that aquireres the TCP packets from an optical array of 18 sensors, parses them, converts the binary to floating point strain and plots them in real time, so the final outcome is a plot in front pannel that has 18 traces (each correpond to one sensor), all the traces have sinusuidal profile.

before I upload the file on target I tested the VI by connecting the sensors to my PC' ethernet card and it works perfect,

however when I upload the same VI on the target I notice that the traces change in a slowmotion manner, I first thought that it might be a lot of floating point computations involved the roborio ARM can't handle , so I started to optimize my code, but nothing changed.

any ideas ?

0 Kudos
Message 1 of 1