Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Signal gating and integration

I have an application which I wish to calculate the integration of an incoming signal which is above a certain
threshold.
 
I have not attcahed the application vi but have attached TutorialGenAnalyzeDisp JS.vi and modfied it to try and
do this but I am having problem in getting it to work correctly.
 
What I want it to do is to clip the peaks off the sine wave above 0.5V using the relay function and feed this
into a integration routine and display the result. The result should be the area under the sine wave above
0.5 and I should be able to get the full area or a fraction of depending on my dt value I feed into the integration
vi.
 
Instead the relay output does not seem to give me the clipped tops of the sine wave rather the sine wave
coming & going.
 
Any tips on how to proceed greatly appreciated.
 
Thanks
 
Javed
0 Kudos
Message 1 of 2
(2,603 Views)
Hi Javed,

The Relay express vi won't return what you want from the signal. Instead you could use the Mask and limits express VI. I have modified your vi to use this instead of the Relay. Is this waht you wanted?

Reagrds

Jon B
Applications Engineer
NIUK
0 Kudos
Message 2 of 2
(2,581 Views)