"Cant use $ in this way in a function"
DimensionalDifficulties
make W_sigma
make datawaveCropped
string bloach = "W_sigma"
datawaveCropped=$bloach
make datawaveCropped
string bloach = "W_sigma"
datawaveCropped=$bloach
make datawaveCropped
string bloach = "W_sigma"
wave wbloach=$bloach
datawaveCropped=wbloach
Hope this helps,
Kurt
January 8, 2014 at 11:37 pm - Permalink
DisplayHelpTopic "Accessing Global Variables And Waves"
DisplayHelpTopic "Accessing Waves In Functions"
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
January 9, 2014 at 09:06 am - Permalink
January 13, 2014 at 10:59 am - Permalink
To be more precise, though, you can use Wave/Z where the /Z means "look up a wave but it's OK for it to not exist". Then use WaveExists() function to find out if the wave reference variable actually refers to a wave.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
January 13, 2014 at 02:39 pm - Permalink