04-17-2025 08:43 AM
@cpalka wrote:
Hi Bob_Schor
Many thanks, I start seeing the presentation, let's see if will be this time I will start using tasks.
Could someone answer my questions in last message?
By the way I search an example vi to create a wav file from a TDMS file but could not find it.
Best regards
cpalka
Not sure about your last question, but yes I think DAQ assistant can save tdms files.
04-25-2025 10:09 AM - edited 04-25-2025 10:15 AM
Dear all
Could someone help me find a vi that reads it and convert TDMS file to a wav file?
As I told in last message, I have 2 channels enter in the ni9233, AI0 a microphone and in the AI1 an encoder pulse.
I use this because in this way I can synchronize the sound and distance. Now I can create a wav file and a TDMS file from a mcduff example. Then in mathlab a friend mine calculates distance from the wav file.
It is possible to use a DAQ assistant to read and save this data, save the AI0 for sound analyse (record a wav file or TDMS and convert it to wav) and i can work with square wave from encoder to get the distance. I have Sound and Vib module and LB2013.
best regards
cpalka
04-25-2025 10:17 AM
Could someone help me find a vi that reads it and convert TDMS file to a wav file?
Most of what you need is in the example I provided earlier. Where are you stuck?
The link below shows how to combine multiple channels into 1 wav file.
04-25-2025 10:43 AM
Hi mcduff
I would like to do a vi that during the acquisition I can see a graph with noise, a window with distance traveled and saving a wav/TDMS file from AI0.
I cand "see" it with DAQassistant. I can configure the channels one as a microphone and the AI1 as a volts. Then in vi the AI0 signal and distance goes for the write measurement file.
Your example, I am working now with it doing some measurements for a master thesis for a student.
Then she will need to complete the analysis open it with matlab and runs a routine.
Thanks for another example
best
cpalka
04-27-2025 03:27 PM
Now I am very confused. Your original Post had code attached (AudioAcq.vi) that was in LabVIEW 2022.3. At one point, you asked to have code saved as LabVIEW 2013 (did you mean LabVIEW 2023?). And your device is an NI-9233, I think you said.
According to NI, the NI 9233 was last supported by LabVIEW 2017.5. This means that code written using LabVIEW 2022.3 does not support this device. Could this be the cause of your problems?
Bob Schor
04-29-2025 03:44 AM
Hi Bob Schor
Please don't be confused.
Yes, LB 2013 and NI 9233.
University stops teaching labview to the electronic students and no license anymore.
If You want to offer some licence to LB 2024 or 2025 I will be thankful.
Best
cpalka
04-29-2025 02:33 PM - edited 04-29-2025 02:37 PM
@cpalka wrote:
Hi Bob Schor
Please don't be confused.
Yes, LB 2013 and NI 9233.
University stops teaching labview to the electronic students and no license anymore.
If You want to offer some licence to LB 2024 or 2025 I will be thankful.
Best
cpalka
you can use labview community https://www.ni.com/de/shop/labview/select-edition/labview-community-edition.html
I tell this to all trainee students at work
04-29-2025 03:35 PM
At the bottom of the page you linked it states
LabVIEW Community edition is not for use at degree-granting institutions such as universities, vocational schools, and certification programs.
05-01-2025 02:33 PM
Many thanks for both
Me and more 3 or 4 colleagues are the fighters still using LabView at the University.
I use LB more than 20 years to support projects from students and researching.
Labview for me is too friendly and it is open for simple data acquisition temperature, load cell/force, lvdts win an old SCXI that has a lvdts module and so many, that we can see and save data.
Some times we are not understood here in forum.
Please kindly understand that we never do the same all days. Each day or week a student came with a different project and we need try to help him/her with best support we have in labs. Sometimes with labview, sometimes with electronics, or else (even i am civil engineer)
For example now I try to support a student that wants to save sapatial sound, wav files, and distance during a walk. I never had worked with wav files and never thought that is a litle bit difficult.
So please be patient
Best regards
cpalka
05-02-2025 07:24 AM
Hello, @cpalka.
It seems (to me) that you are a teacher/professor at a University/College, perhaps in Europe, and are trying to support students interested in learning about data acquisition, software control of hardware, and general problem solving using LabVIEW. You seem to be using a very old copy of LabVIEW (2013?) which will probably no longer work when Windows 11 becomes the new PC standard.
A number of us (myself, included) have a similar background. I would suggest that you get in touch with National Instruments, explain your situation, and see if it would be possible to buy a single (or a few copies of the) Academic License for LabVIEW 2025, the current release. Be sure to ask for a "permanent" license, as you may want to keep using it for several years.
Many of the active members of the LabVIEW Forums are also affiliated with academic institutions in Europe, and might have suggestions about whom you could contact to obtain licensing for you and your students.
Bob Schor