08-06-2013 04:51 AM
Hi, in my case,
Diadem is running with script files. Is there a possibility to reset all variables or calculation results to the initial values or status at the first or end of script running at once? (need memory clean or initialization method for all variables)
-->
1st data processing, I get HIC36, Chest VC values from diadem's calculation function and set T1=100, T2=200 from data channel's maximum values.
2nd data processing, I have only data for chest VC and set T2=300, no data for HIC36, T1 and I don't need HIC36 & T1 in my report, but HIC36's calculation result and T1 is displayed on my report.
08-10-2013 12:29 PM
Hi tho,
I'm checking withh R&D on your direct question. If you happen to be using DIAdem 2012 or later, why don't you instead use the channel properties that are automatically created each time you run these calculations? These new properties are stored to the particular channel you rant the analysis on, so there's a separate copy made each time you run the analysis. The channel properties are also particularly easy to include in a REPORT layout by just dragging and dropping them from the Data Portal.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
08-12-2013 12:03 AM - edited 08-12-2013 12:07 AM
Thanks for your reply.
I'm using 2012 version and formatted report file for official recording, so I don't want unnecessary and/or old calculation results.
If I want to remove this results, I'm restarting the diadem program always.
I can do resetting of parameter for all variables manually or including a script for it sure, but it is too large working and reset script is need every times after using of variables.
--> Typically, two data pairs are included in the crash data and two pairs need same data processing with same diadem script and use the pre-setted report for two data pairs.
But, crash data include one data pair sometimes. This case, program remember old data's variables and display old results by it with new calculated results. It is not changed at the using of channel property because script & report file include not resetted variables for omitted data pair.
At the least, I want reset status such like program launching status after deleting of old data group and new data group loading without program restarting.
Thanks.
08-27-2013 05:40 PM
Hi tho,
I'm sorry, I checked with R&D, and there is no single command that will reset all the CRASH variables to their default status. I'm afraid you'll need to reset all the variables you care about with individual VBScript command lines.
Brad Turpin
DIAdem Product Support Engineer
National Instruments