Thread: PID While Loop
View Single Post
  #1   Spotlight this post!  
Unread 06-02-2016, 23:43
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: PID While Loop

It looks like you want to share data constantly between the two loops by running wires between them. That's not how LabVIEW works -- a loop doesn't produce an output until it has finished running. You need to put everything in the same loop, or you can share data using variables (local or global) or queues or some other mechanism.
Reply With Quote