05-08-2019 03:55 AM
Hello all,
Is there any way to save the layout along with the data?
06-04-2019 03:50 PM
Hi ram90,
Are you referring to a report layout?
06-06-2019 10:51 AM
HI Ram,
Yes, Both Report and View Panes allow saving of current status to a file.
For View the filename will have a tdv extension.
For Report the filename will have a tdr extension.
You will also need to save the current state of the Dataportal. This is done from the Navigator interface, ( I would save it to tdms format, that way you only have to have one file, the index file is optional.)
Once you have all three files, any other person who has your files, and DIAdem can see what you see.
Paul
06-06-2019 09:41 PM
Hi,
Thank you for your response. I am referring to the view panes where we are creating a layout to plot the data. I could able to save that as my layout. However, if I open a new session of DIAdem along with my existing saved layout only the layout is opening without data which I used for the analysis. So every time I have to upload my data to do the analysis in the saved layout. For that is there any option in DIAdem to save the data along with the layout?
06-06-2019 10:34 PM
Hi,
Thank you for your response. My concern is like whenever I open a layout (i.e., .tdv file) I have to go and find the data which I have used for a specific analysis. For example I have found some issues with some channel by plotting data in the view layout and I have saved as .tdv file. After some days If I want to see the same faulty data, again I have to search the data which I found with some issues and I have to plot it in my saved view layout. Instead of that, If I save that specific file along with the layout, it will be easy by opening the container or packaged layout (which contains both layout and corresponding datasets). To do this is there any option in DIAdem?
06-07-2019 06:23 AM
Hi Ram90.
The NI product Support guys will have to answer the question as to whether a function exists to group a View and a data file.
One option to accomplish the same feature, would be to make a very simple script that loads the data and tdv file.
In the sample below you have to put the vbs file into the same directory as the tdv and the tdms file. Once Ran, the environment will be exactly as it was when the data and view pane was setup. This also has the great advantage that could put other commands in this script that could also do a report. or other processing.
Option Explicit 'Forces the explicit declaration of all the variables in a script.call datafileload(autoactpath & "test.tdms")
Call View.LoadLayout(autoactpath&"View.tdv")
Paul
07-08-2019 07:18 PM
Hi Guys,
There is no function to save layouts and data to the same file. You can always create a zip archive for transport purposes. If you just want to jump back to a previous DIAdem state, you can use the following example:
"Creating and Saving a Work Session"
Brad Turpin
DIAdem Product Support Engineer
National Instruments