Showing results for 
Search instead for 
Did you mean: 

Timed while loop with LINX

Go to solution

its a much smaller file so I think this is the right one.


Thank you for being patient

0 Kudos
Message 11 of 12

Hi Macco,


@MaccoTaco wrote:

for some reason my digital write square wave statements are not fully working.

Is it possible that a regular digital write statement might be messing with it?

Oh boy, this VI is way too big!

You really should learn to implement better programming structures, like statemachines, producer-consumer and other stuff!


And you REALLY need to learn how your computer communicates with your Arduino: it's a (virtual) serial port! You send a command, the Arduino executes the command and (maybe) sends a response. Then you can send the next command!


Right now there are several loops running in parallel, some of them as fast as possible. And they all want to communicate with your (small and tiny) Arduino: I guess you overestimate its processing power by magnitudes…

Best regards,

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 12