Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Timed loop application

Hello,

I am using PCI 6229 card with LV 8.0

I am writing a VI for following application:

I have to turn a 2 digital output line On/OFF based on a separate digital input line (a switch). The sequence of events would be something like:

1. Turn the 1st digital o/p channel ON

2. When digital input is received from a switch (on a separate digital channel). Turn the 1st digital o/p channel OFF

3. Wait for x secs

4. Turn the 2nd digital o/p channel ON

5  .When digital input is received from the switch (on a separate digital channel). Turn the 2nd digital o/p channel OFF

3. Wait for x secs

5. Repeat this N times.

 

Do I need to use timed loops for something like this? Or is there any alternative?

Appreciate the help

Thanks

 

 

 

0 Kudos
Message 1 of 3
(2,842 Views)

Hi bvik,

 

Good afternoon and I hope your well today.

 

Thanks for the post. I would like to make a note, and that you should only have one post per issue - this helps the community best support your issue. As I can see you've posted here and that you've getting support, any support for you issue should be added to that post.

 

Duplicate. 

 

Thanks again, and best wishes with your application. 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 3
(2,825 Views)

James,

 

Sorry for posting it on two different boards. This is my first post and I was not sure which board to use.

I'll avoid this from next time.

 

Regards,

Vik

0 Kudos
Message 3 of 3
(2,823 Views)