LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

created .wav file can not be opened and used later in program

Spoiler
I create and save a .wav file of vibration data at the beginning of a program and then later in the same program want to open it and manipulate further within a subvi.  When I try to open it in that subvi within the program it will not open and gives the error 4810.  I added in an open and close of the .wav file before the subvi but that didn't help.  If I stop the outer program and just run the subvi the .wav file opens up fine.  I can't simply pass along the vibration data within the program due to the size.  Any suggestions on how to get this to work? 

I am using LV2016 64bit

Thanks for any help!

0 Kudos
Message 1 of 5
(595 Views)

This should be a very simple thing to do, which suggests you may have made a simple mistake.  However, even @altenbach can't show you how to fix your code because you failed to post any LabVIEW code for us to see.  This is not a "Do my Homework for me" (or "Give me a free Consultation") site, but a LabVIEW community forum.  Post and share your code, and we will try to help (and you'll be helping other Forum members who may have similar questions and can learn, along with you).

 

Note posting LabVIEW code (meaning VI's) is better than posting "pictures of code" (as pictures are hard to edit and execute).  However, while most LabVIEW "new-comers" will be running the latest version of LabVIEW (currently 2023), many long-time users will be running older versions (I'm mainly using LabVIEW 2019), so if you do post your VI, you might consider using the "Save for Previous version" and specify LabVIEW 2019 or 2021, for example.

 

Bob Schor

0 Kudos
Message 2 of 5
(561 Views)

Hi Bob,

 

Definitely wasn't my intention to create work for anyone.  I assumed that someone out there would see this question and would immediately recognize the problem and have a fix.  I also think it is probably a simple fix however my vi is not simple and I can't post it because the .wav problem is a very small part of it.  

 

Sorry for bothering you.  Hopefully someone out there will recognize the problem!

 

 

0 Kudos
Message 3 of 5
(555 Views)

@jibbot wrote:

Hi Bob,

 

Definitely wasn't my intention to create work for anyone.  I assumed that someone out there would see this question and would immediately recognize the problem and have a fix.  I also think it is probably a simple fix however my vi is not simple and I can't post it because the .wav problem is a very small part of it.  

 

Sorry for bothering you.  Hopefully someone out there will recognize the problem!

 

 


They're trying to tell you that no one can "recognize" the problem if you don't share what you have so far.  it's like you saying for a mechanic to fix your car but you won't even show them the car.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(552 Views)

Hi jibbot,

 


@jibbot wrote:
I create and save a .wav file of vibration data at the beginning of a program and then later in the same program want to open it and manipulate further within a subvi.  When I try to open it in that subvi within the program it will not open and gives the error 4810. 

Any suggestions on how to get this to work?

Use TDMS instead of WAV files…

Best regards,
GerdW


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