View Single Post
  #10   Spotlight this post!  
Unread 31-01-2011, 06:45
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: PID need someone to look it over.

Ternary assignment in C/C++ looks like

y= a<0.3 ? 0 : a;

which is equivalent to

if(a < 0.3)
y= 0;
else
y= a;

In LV it looks like the attached image.

Greg McKaskle
Attached Images
 
Reply With Quote