06-12-2013 09:37 AM
Ok so what happen is i put in the info i want run the vi it works. now i try to change it to a different info and the old values are still there and i haft to reinitialize to default to make it work. I need to beable to change stuff with rinitialize to defaults.
06-12-2013 11:55 AM
I don't understand the problem. I ran your vi and it runs regardless of control values. I see no reason to require reinitialize to defaults.
06-12-2013 12:06 PM
like i run the vi with 5 in the in out and get 5 in the return, then if i run it as 6 in the input the 5 stays in the return
06-12-2013 02:53 PM
That doesn't happen for me. Enter 5, run, returns 5
Enter 6, run, returns 6.
06-12-2013 03:03 PM
06-12-2013 05:55 PM
You have some Rubes in there. Instead of checking if something is greater than zero (which by the way has a single input >0 primitive, you don't need to compare to the constant zero) and checking if if the value is less than 6, then ANDing the results together, just use the In Range and Coerce function!
Further cleanup beyond that may be possible, but I didn't want to figure out your logic and more than that.