09-20-2007 02:49 PM
09-21-2007 02:57 AM
Hi BBANACKI,
sorry, I don't know what you mean, cause imo in a row of one channel is only ONE value.
To read (or write) a value from a row of a channel you can use:
ChD(x,y) or ChDx(x,y)
09-21-2007 07:12 AM
Hallo bbanacki,
check out the function StatBlockCalc.
If you want to add all values of one channel:
Dim i
For i = 1 To 23
StatSel(i) = "No"
Next
StatSel(2) ="Yes"
StatClipCopy =0
StatClipValue =0
StatFormat =""
StatResChn =1
Call StatBlockCalc("Channel","1-","[1]/MyChannel") '... StatDirec,RowNoStr,ChnNoStr
The sum is both written into a new channel and witten into the custom property "ResultStatSum" of channel "MyChannel".
If you want to add line by line values of ten channels:
Call StatBlockCalc("Block","1-","'[1]/MyChannel1' - '[1]/MyChannel10'") '... StatDirec,RowNoStr,ChnNoStr
Christian
09-21-2007 10:41 AM