|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: PID need someone to look it over.
I think my problem is not knowing what i can use to simplify things more (also i find it easier to use stacked cases than use arrays). And what are ternary assignments?
|
|
#2
|
|||
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|