05-13-2013 04:28 PM
Hi pjr1121, I do not intend anyone to provide me a fully functional vi. All I need is to understand the concept of that kind of controls. If someone sheds the light on it, I am sure that I can do it. Anyway, set points and rpm values are gathered from a simulation program not from an experiment. I will test the simulation program if I code this vi in an experiment.
05-13-2013 04:36 PM - edited 05-13-2013 04:36 PM
Revised with my original code it seems to work as requested. On until reaches less than 0, turn off, wait until exceed 8, turn on, wait till less than 0, turn off.
05-13-2013 04:49 PM
Dude, you totally misunderstood the concept. Your code is not working as requested. I attached a graph result of the vi that I attached previously. Please check its result and your own results.
05-13-2013 05:03 PM
The only difference I see here is that my code checks for LESS THAN ZERO. You seem to want it at zero. Just replace less than with a less than or equal.
05-13-2013 05:26 PM - edited 05-13-2013 05:28 PM
Do we talk on the vi that you prepared? Your result is attached. I figured out it, but I typed previously about reverse fluctuations. Do you read about it? I also attached a result screen of reverse fluctuations. Anyway, thank you very much for your suggestions, I am so grateful.
05-13-2013 05:33 PM
Ya, as I said my code was for LESS than zero. Since the data points only reached exactly zero, it didn't turn off. Re-opening the vi I realized that I didn't save the changes I made to the raw data (i changed zeros to -1 for my test and this is why I thought your graph was from my code).
Here is the Corrected version with LESS THAN OR EQUAL. No fluctuations in this one.
05-13-2013 05:45 PM
I did not recognize it. Thank you very much. It is proper now 😄