LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analogue Input TTL Synch

I am having trouble triggering an event depending on an analogue input. I am aquiring a sine wave on AI0 as in the attached VI. I would then like to to send a TTL through a digital output or counter timer output if possible (do i use a counter or DO?), depending on a selected phase. For example a would like to send a TTL when the sine wave reached max, min and other phases depending on what phase I select. I would like the ttl to keep on outputing till i stop it. I am having trouble with how to do this!!!
 
 
 
 
 
0 Kudos
Message 1 of 3
(2,857 Views)

Hi Alloush,

I've made an example which illustrates how this could be done.

Hope it helps!

Pelle S
Account Manager
National Instruments Sweden
0 Kudos
Message 2 of 3
(2,843 Views)
HI Pelle,

Thank you for your program it works, I will fiddle with it, and let you know how I get on.


Thank you,
Alloush
0 Kudos
Message 3 of 3
(2,836 Views)