DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

specific script problem

Hello,
I built a script that his funtions are:
 
-Create some new channels:
 
1- "DAYS" channel: I want here to appear each day without repetitions (ex: 22/11/2003, 23/11/2003...27/11/2003)
2- "BOXNew" channel: The same as the Days channel but now in "box" (ex: 1,2,3,4,5...12)
3- "CONS#" channels: I want here to appear the daily consumption of each box. (ex: Channel "CONS" -> first value belongs to the daily consumption of the first box and the first day, 2nd value belongs to daily consumption of first box and 2nd day...Channel "CONS1"-> 1st value belongs to consumptions of 2nd box and 1rst day...)
 
-Calculate total consumption of each day, average and standard deviation.
 
The problem is that by some reason, the "DAYS" and "BOXNew" appear as NOVALUES.
 
Does anyone have a solution to this problem? Or does anyone have another way to make the same as my script?
The Days and the BOXES change each time I run a new report. 
 
I work with Windows XP& DIAdem 9.0.
I attach the tdm, tdx and vbs files.
 
THANKS!
 
Nuria
0 Kudos
Message 1 of 2
(3,364 Views)

Hello Nuria,

a little bit tricky but it works fine. Hwo du you get NOVALUES in the channels "BOXNew" or "DAYS"? I have no NOVALUES in this channels.

 


Andreas Weiland
Projektingenieur
measX GmbH & Co. KG
, www.measX.com
0 Kudos
Message 2 of 2
(3,347 Views)