LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

taking samples

Hi all,
I'm using LabView 6.1 and have a problem. My aim is to get samples from a given signal at the time of a rising slope of the another signal, i.e. I have two signals at two inputs, lets say one of the is a sin wave and the other one is a rectangular wave. I want to take samples from the sin wave, when the slope of the rectangular wave is positive or rising. Have any kind of solution for this case.

Best Regards

Fatih Ayoglu
Research Student
Electronic and Electrical Engineering
College of Engineering
Koc University, Istanbul Turkey
0 Kudos
Message 1 of 2
(2,538 Views)
Greetings, Fatih:
 
      There are several simple ways to do this.  Most of the NI DAQ cards have an option for external hardware  triggering, or using any one of the channels.  There is also software triggering available in several VIs.  I've attached a software triggering VI from the version 8.2 example archives.   Generally, hardware triggering is a bit faster, and for simple waveforms as you describe, it's very reliable.  If you're working with more complex waveforms, software triggering is a little better at "figuring out" trigger points.
 
Good luck!
 
eric
0 Kudos
Message 2 of 2
(2,523 Views)