LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform measurement

Hello

i need to calculate total number of groups of 1 as shown in attached waveform using labview. The multiple 1-0 transitions represent exhale and continuous 0 shows inhale cycle. I want to calculate respiration rate from this wave. Please suggest ideas on how to do so using labview. Input is in digital form only. I am using LINX for arduino labview interfacing.

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

@sd2019 wrote:

i need to look at my data figure and think about how I might group periods of time when my signal is not varying (but stays at 0) from periods where it jumps up and down between 0 and 1.  Maybe I should look at the entire series and think about asking if/where the signal "clumps".  Then I'll spend a few minutes/hours with the LabVIEW tutorials -- I should be able to figure this out by myself ...


 

0 Kudos
Message 2 of 3
(2,215 Views)

Hi sd,

 

to add to Bob's suggestion: maybe you can even improve the DAQ part of your Arduino to not switch rapidly between 0&1 for that exhale part, but stay at 1/TRUE/HIGH.

(Just to provide an idea: in a PLC you would use commands like TON and TOFF for such signals…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(2,203 Views)