10-19-2005 11:15 AM
10-19-2005 02:58 PM
Hello George,
You could help me to understand your requirements better. Looking at the files which belong together, how do you know they belong together ? Do they have a common element in their names or are they all in the same directory ? Can you provide an example of the file ?
Andreas
10-19-2005 03:16 PM
I figured that all of the files (or maybe more correctly, data) would be loaded in the data portal. As an aside it might actually be nice if the files didn't have to be loaded there. It can take a long time to load that much data. All the files will be exactly the same in structure. After some thought I came up with the following script. I doubt if it's very efficient. It'd be nice if I could send it right to a graph instead of having to create channels.
MyChnName = ChnAlloc("AllCount", 1000, 1, ,"Numeric",1,1) 'Allocate pulse count channel
MyChnName = ChnAlloc("AllEnergy", 1000, 1, ,"Numeric",1,1) 'Allocate energy channel
For i = 1 to ChnNoMax/2 - 1 'There are two channels per group. The - 1 is because I just created two channels
ChD(i,"AllCount") = GroupPropGet(i,"Pulse_count")
ChD(i,"AllEnergy") = GroupPropGet(i,"Energy")
Next
10-20-2005 01:22 AM
Hello George,
the approach you have choosen seems OK to me. DIAdem requires the data to be in a channel to be displayed in a graph.
Andreas
10-20-2005 09:21 AM
10-20-2005 09:28 AM
I wasn't sure if I could use any of the DIAdem 10 specific functions or not. But what you mentioned sounds great. I anxiously await your examples.
George