LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaniusly input and output.

First, I'm a newbie so bear with me.... 

 

I'm trying to create an application with following functions:

Sample a number analog inputs for let say 4 sec. (samplingrate and time will be adjustable)

During sampling I need to activate and deactivate up to 4 outputs. (time dependent)

 

E.g.

Start measuring AI0, Output 1 high.

Wait 2 sec.

Output 1 low.

Wait 2 sec.

Stop measuring.

Show measuring result.

 

Someone that could guide me in the right direction or even better, send me a sample VI.

 

Thanks in advance.

 

0 Kudos
Message 1 of 2
(2,405 Views)

Hi LarsA,

you can use two loops, one for the measuring and the other for the output. You can use queues to send commands between them. There are different solutions to realize the wait. You can send it as a command from one loop to the other or you use an extra loop which sends the commands after the specified time.

 

Hope it helps.

Mike

0 Kudos
Message 2 of 2
(2,384 Views)