LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use cursor to subset data from an acquired sound graph...

I have attached the file below. When I simulate a signal it works perfectly, but if I switch out the simulated signal for acquired sound, i doesn't seem to be able to subset the data between the cursors.  

0 Kudos
Message 1 of 5
(2,803 Views)

If you save back to 17 (or 14), more people will be able to help you.

0 Kudos
Message 2 of 5
(2,774 Views)

Hi professor,

 

always select the cursor first, then read the properties of that cursor!

 

Like this:

check.png

(It also helps to sort the cursor values by size to avoid negative differences…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 5
(2,764 Views)

How do I make it work if I use acquired sound instead of simulate signal, thats when mine breaks.

 

p.s. cheers for the tips.

0 Kudos
Message 4 of 5
(2,747 Views)

Hi prof,

 

if I use acquired sound instead of simulate signal, thats when mine breaks.

In which way it "breaks"?

Can't you run your VI anymore? Do you get any error? If yes: which one?

 

Why should the VI break? You get the very same DDT containing a waveform, you convert that to a 1D array of samples and you can select the same subset as with a simulated signal…

Best regards,
GerdW


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