|
Re: Worried about high CPU usage in CRIO
@Greg - Ah, now I understand. I'll see what I can do here.
@Ether - I have read the first post before, however reading it again now (with a deeper knowledge of LV) I feel like I understand it better. If I wanted to make a "state machine", I would get the Joystick button values and set a local/global variable, and call such a variable within the code requiring the value from the variable, yes?
@EricVanWyk - Is there a way within LV to prioritize code?
I did not intend for my loops to be blocking (at least not in this situation). How could I write a value (such as a motor output) then rewrite a value 500ms later without it becoming a blocking loop?
I'm going to try to write the code here from scratch.
|