A plain shift register and the Not function.
Message Edited by Dennis Knutson on 04-30-2007 09:44 PM
Hi fireandfury,
Thanks for contacting National Instruments. If I understand your question right, it sounds like you want a switch that will turn on and off for set periods of time programmatically. It looks like the simplest way to do this may be to use a flat sequence structure that has wait timers in each sequence when the state of the switch is altered. The attached image below should give you a good idea of how I did this and hopefully it will help you out. As you can see, the boolean LED is only in the on or off states for 250ms at a time. I hope this helps and if you have any more questions feel free to reply back. Thanks!
Noah R.
Message Edited by Noah R on 09-26-2007 04:22 PM
Hi fireandfury,
Using a stacked sequence structure shouldn't be a problem. The only difference will be to make each frame of the flat sequence structure that I posted above its own layer on the stacked sequence structure. This way, it will follow the same sequence that I have shown above. Let me know how it works. Thanks!
Noah R.
Hi,
Is it possible to create a toggle switch which is automatically turned off after one iteration of a while loop and stays off until the user switches it back on?
Thanks