LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

question about sound signal processing and saving

I was programming a sound signal processing system based on the sound card in pc. The block diagram was on appendix and it included sound signal acquisition, FFT transformation, and filter parts. Was it correct?  And how to save the sound signal acquired to pc?       Could you do me a favor, thanks for your time.Smiley Happy

0 Kudos
Message 1 of 7
(3,214 Views)

The code that there seems ok. There are a variety of tools available for saving the data, but first - which data? Everything? just the raw data? just the final results? When do you want to save the data? with every iteration? at the end of the loop?

How long will the loop run for?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 7
(3,198 Views)

mikeporter 已写:

The code that there seems ok. There are a variety of tools available for saving the data, but first - which data? Everything? just the raw data? just the final results? When do you want to save the data? with every iteration? at the end of the loop?

How long will the loop run for?

 

Mike...


I am sorry about that I did not make my question clearly.  The goal is to save the raw data from starting this VI to clicking the "stop" button to stop the VI.   How could I achieve this goal? Smiley Embarassed

0 Kudos
Message 3 of 7
(3,182 Views)
What format do you want the data stored in? What are you going to do with the data?

At the very least you can store in TDMS or ASCII format. There are examples that ship with LV showing both.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 7
(3,172 Views)

mikeporter 已写:
What format do you want the data stored in? What are you going to do with the data?

At the very least you can store in TDMS or ASCII format. There are examples that ship with LV showing both.

Mike...

Well, I just want to save the sound signal which was acquired from sound card into a wav file. 

I made a VI  (pic 1) but it did not work. The error showed in pic 2, and when I was highlighting it , the error showed in pic 3.

 

labview1.png

labview2.png

 

labview3 .png

0 Kudos
Message 5 of 7
(3,159 Views)
The code looks OK but its really hard to find problems from pictures. BTW, the error in pic 3 tells you exactly why the error occurred. You were reading it too slow (of course, you had highlighting on!).

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 7
(3,152 Views)

Hi holidayaa,

The real problem is the your Sound Input Configure .vi is not returning proper task ID and again depends on proper device ID you wire to it.

 Please check the device ID of your card in the device manager and try again.

 

Regards,

SrikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 7 of 7
(3,139 Views)