I have a program controlling eight Digital PWM pins on my Arduino Mega to control 8 DC motors.
My question is how can I speed up the program so that it continuously or quickly measures the Num Ctrls on my LabVIEW program.
Here is my current setup which is extremely slow when I watch it in the Highlight Execution on:
I also tried using multiple while loops but it still look almost 12 seconds before registering a chance on my main LabVIEW GUI interface with the num ctrl knobs.
I use Labview for programming FRC robots and whenever I turn on Highlight excitation the code slows down dramatically because every command that is processed is sent back to the computer and we use WiFi witch has much more bandwidth than the Arduino sending data back to the computer I would sudjest not using that awsumely helpful feture except as a last resort because of how slow it is
ferret_guy:
I use Labview for programming FRC robots and whenever I turn on Highlight excitation the code slows down dramatically because every command that is processed is sent back to the computer and we use WiFi witch has much more bandwidth than the Arduino sending data back to the computer I would sudjest not using that awsumely helpful feture except as a last resort because of how slow it is
ah this makes sense, ill test it without it! thanks for the heads up!
ferret_guy:
I use Labview for programming FRC robots and whenever I turn on Highlight excitation the code slows down dramatically because every command that is processed is sent back to the computer and we use WiFi witch has much more bandwidth than the Arduino sending data back to the computer I would sudjest not using that awsumely helpful feture except as a last resort because of how slow it is