DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Variable & calculation results reset at once.

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. 

 

0 Kudos
Message 1 of 4
(6,036 Views)

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

0 Kudos
Message 2 of 4
(6,006 Views)

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.

0 Kudos
Message 3 of 4
(5,991 Views)

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

0 Kudos
Message 4 of 4
(5,881 Views)