05-04-2017 01:23 PM
Right, I went through the tutorials, got a thing that almost works.
The problem that I have with my current design (see attachment) is that it works fine the first loop, but then it starts doing weird stuff, i think because of the timing, but not sure?
Sorry if someone can't open it because of version restrictions, but currently I can't save in to other versions.
05-04-2017 01:45 PM
HI XebeXUC,
it works fine the first loop, but then it starts doing weird stuff, i think because of the timing
I think it's because of excessive usage of ExpressVIs… 😄
You use the DelaySignal-ExpressVI several times. Did you read the help for this function? Do you know what each input is used for? Hint: maybe you should think about the "Reset" input of those ExpressVIs…
05-04-2017 02:11 PM
Gerd, I think you are onto something about those Delay Express VI's.
Xebe, in your own words, tell us what you are trying to do with those Delay Express VI's.
05-05-2017 04:27 AM
I used a feedback node to the reset after the delay, which seems to work well. Not sure if this is good practice?
05-05-2017 04:30 AM
I'm trying to simulate the valves opening and closing.
When a state opens the signal to the valve is delivered directly, then the state remains a few seconds (with the delay) and then decides to go to the next or back to start, depending on the state of the alarm.
Each state should remain a certain amount of time.
(I now see that the 'opening' and 'open' state are pretty much the same, but it makes it eassier for me to check where in the process it is and to adjust the timing)