03-23-2022 06:11 AM
Hello everybody!
First of all I am very new in LabVIEW. I have been studying it for about 2 weeks, so please be broadminded :).
My project: I have loads of tdms files from an experiment at my university (I am studying mechanical engineering) and I need to analyze them. I need to find correlation between them, or between the mean, spread value, rms, etc. of them.
The object I propose to myself is that i will have a block of usable and manageable data in an array or in a matrix, which after I can use to make graphs, export to excel or make further analyzation finding more correlation.
I visited lots of forums, topics, watched videos used google as my friend but I could not manage my problems 😕
My questions:
How can I add the data one after an another continously to an array while my program is running? (shift register, insert into array, how to use them)
How can I make my program simplier? (Yes I know or think that there are tons of mistakes and unwanted things)
What is about the virtual memory of the 32bit LabVIEW? Is there anything what I can do without reducing the segment size? (probably trying x64?)
How to work with TDM Excel Add-In Tool?
Thank you in advance for your answers and assistance!
Solved! Go to Solution.
03-27-2022 12:46 PM
03-30-2022 10:13 AM
Thank you a lot for your kind help Sir!
After all I could manage my problems with your help.
03-30-2022 10:24 AM
Since you have many values per iteration, all you need is one single shift register containing a 2D array, of course. Make sure not to overcomplicate things! Feel free to show us your latest code so we can offer more constructive advice. 😄
03-30-2022 10:46 AM
Here you are!
Yeah I know my code is extremely chaotic... 😕
03-30-2022 10:47 AM
Can you "save for previous" (2020)?
03-30-2022 10:50 AM
Here you are, I hope it works. 🙂
03-30-2022 11:20 AM - edited 03-30-2022 11:42 AM
Here's how that could look like.
This assume that you want to see the graphs (etc.) update while the loop is running, i.e. if the iterations are slow and you like to watch the data building. If not (most likely) you can move all indicators and associated code after the loop, of course.
... which is of course the same as this much cleaner version:
04-13-2022 06:25 PM
Hello everybody!
Can somebody help me with my code?
I'd like to simplify my code. I have five parts of every tdms file and I have 47 tdms files. I'd like to calculate mean, rms, variance etc.
So that means I'd like to get 5*47 samples in my graphs but my code is quite chatoic atm. And because of the horrific amount of information it works quite slowly.
Thanks in advance for your help!!