LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Number of commands of a waveform

Dears 

I really need your help, I'm trying to count how many commands (+ve wave) of a particular waveform. I splited the waveform +ve alone and -ve alone.  I tried the attached block but it counts each peak 3 or 4 times.

 

Kindly I can't share with you the full block diagram.

Thanks in advance 

7C3BFD89-2C9A-4A1B-9E9F-BEAF6CF866AB.jpeg

0 Kudos
Message 1 of 3
(1,171 Views)

What do you mean by "command of a waveform"?

 

I've never heard that term used with a waveform before.

My guess is that English is not your first language and you did not get a good translation of what you are looking for.

 

You then talk about peaks.  Are you trying to count peaks?

If you aren't getting the correct amount of peaks, the problem is usually with the parameters you are using to search for the peaks such as width or threshold.

 

A literal picture of your screen of a single VI isn't going to help us help you.  I know you said you can't attach the full block diagram.  Proprietary reasons?

But if you attached a VI that is just a simplified portion of your VI where the inputs and the waveforms are saved as constant so we have you data, then someone can help you work on getting the results you expect.

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

" commands" is a term used in my company for +ve peaks, sorry i didn't explain well. Yes friend I want to count positive peaks, the parameters are taken from a special device. I can't attach the full block diagram due to confidentiality reasons. Hope you understand 

0 Kudos
Message 3 of 3
(1,133 Views)