Problems accessing data from waves
McIlhenny
I've got a wave in which all the names of my data waves are stored. It's called ListofallWaves and it looks like this
datawave1
datawave2
..
datawave2
..
Each of this waves consists of unscaled measured values from my experiment.
Now I want to access the first datapoint of the wave datawave1 with the following command:
print ListofallWaves[0] + "[0]"
This command just prints dawave1[0] in the command line but it doesn't give me the value of this. Is there a simple way to solve this?
Best regards
Here is how I would do this:
Wave/T list = root:ListOfWaves
Wave w = $list[0]
Variable v = w[0]
Print v
End
For details, execute:
August 4, 2012 at 06:56 am - Permalink
August 4, 2012 at 08:37 am - Permalink