07-21-2002 08:08 AM
07-21-2002 08:28 AM
04-30-2007 09:40 PM
how can i modifly this switch so that it switchs state everytime a loop is run?
thanks
04-30-2007 10:43 PM - edited 04-30-2007 10:43 PM
A plain shift register and the Not function.
Message Edited by Dennis Knutson on 04-30-2007 09:44 PM
09-25-2007 04:39 PM
09-26-2007 04:21 PM - edited 09-26-2007 04:21 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
09-26-2007 07:56 PM
09-26-2007 08:08 PM
09-27-2007 09:01 AM
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.
06-15-2012 04:02 PM
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