01-21-2020 03:39 AM - edited 01-21-2020 03:40 AM
Hi everyone,
I wrote a vi, based on my setup to view one tdms file.
I need a program which allows to import 12 different tdms files at one time and display it.
The idea is to create a matrix and load the tdms files into certain positions but I'm quite unsure how to do it.
01-21-2020 09:43 AM
You can modify the VI you uploaded to use a Path Control to determine the file to read (instead of the dialog) and then call it as a subVI inside a loop.
Each iteration will produce all of the indicators you've set up - ROI, {in-phase, out-of-phase, reflectivity} img, TRprop (although I'd perhaps replace the local variable with a constant there), and optionally intensity graph. You might want the last one to be removed from this new 'subVI' too, and place that in the top VI, but it's up to you and your needs.
Once you have that, you'll need to look at the accepted ways to display your data in whatever type of graph you're looking for - the multiple plots options are described in the Detailed Help (hover over a graph and see the Context Help (Ctrl+H) on the block diagram, then choose Detailed help).
01-24-2020 04:16 AM
Thanks for your answer. You mean I should create a subVi which allows to read multiple files and than put in inside the loop?
01-25-2020 08:50 AM
01-31-2020 04:02 AM - edited 01-31-2020 04:04 AM
Thanks for the answer. I manage to display the data in one intensity plot but I would like to have something like this (see above) where all the pics has a same scale and are not in one column but like a matrix.
01-31-2020 04:17 AM
Hi Simon,
@simonschluter wrote:
I would like to have something like this (see above) where all the pics has a same scale and are not in one column but like a matrix.
So you want to create a larger 2D array from several smaller 2D arrays?
All you need to do is one of these two options:
01-31-2020 04:42 AM
Hi GerdW,
thanks for your answer. I had more a less the same idea but I wasn't sucessful to create running Vi. I did something like this - but the result is the same, I have all tdms files display in a column not like a matrix.
Best
Simon