02-27-2015 05:53 AM
Hello,
I am new to LabVIEW, so there might be a supereasy way to do this, but I can't find it anywhere. I'm trying to make a number go up to 20, then down to 0, then up to 20 again and so on. So I need it to cycle. I was able to do it from 0 to 20 using the Increment function, but from 20 to 0 proves to be more difficult. I know where the problem is: there is no feedback loop in the substraction while loop, so it only does it once. However, I don't know how to implement a feedback loop there.
Is there a way to use variables, like in any text-based programming languages, like C? I've tried messing around with global and local variables but I can't get them to work either.
Please help! Thanks 🙂
02-27-2015 06:13 AM - edited 02-27-2015 06:14 AM
Hi,
02-27-2015 06:25 AM - edited 02-27-2015 06:28 AM
02-27-2015 06:27 AM
Or