From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,302 Views)

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

0 Kudos
Message 2 of 5
(2,273 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,263 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,246 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,240 Views)