DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with subscripts and Statistics

Hello,
1.-I would like to choose from one subscript or another with a dialog button from the main script. But when I chose one subscript, the dialog box where I choose the subdialog does not close and the subscript runs below.
What am I doing wrong?
I tried with: "call startscript", "call scriptinclude"....but it does not work.
I am working with DIAdem 9.0.

Another question:
2.-Is it possible to store the statistical results always in the same channel, adding the results each time I do the evaluation so the channel gets longer?

Thank you very much,
Nuria
0 Kudos
Message 1 of 3
(3,436 Views)
Hi Nuria,

I'm not sure whether I fully understand your first question, but I hope the following example may help you: "SUD_ParameterDlg" and "SUD_CmdControl". You find the examples in the DIAdem->LIBR->AUT path.

Each time you run the statistical calculation a new channel will be created for the results. To comulate the results in one channel you can select more than one channel for the calculation. For all selected channels the results are stored in one channel. The other possibility is to copy each single statistical value to one result channel. For this you can use the command CHD(line number, channel name).

I hope this can help you.

Greetings

Walter
0 Kudos
Message 2 of 3
(3,428 Views)
To 1.
If i understood your problem, you want to click a button on a dialog and want to start a script from DIAdem.
For your dialog box to close you have to use dialog.ok and then scriptstart.
To 2.
In my opinion its only possible to declare a few channels as your statistic channels, and when you have done your evaluation, copy the values from the stat channels to your own stat channels. When you do the next evaluation, the script looks in your stat channel. If there are two values present, then it writes to nr 3.
You would have to program this with a script. I dont think its built in.
0 Kudos
Message 3 of 3
(3,423 Views)