Can I use Grep on a Wave (as opposed to a file)?
cmm557
I am trying to use the grep function to extract data points with a specific expression. This is my grep line:
Function IndexingCALIc()
Grep/INDX/Q/E="T1" wavename
However, igor is not letting me compile this. I think I need to fix the part where I put wavename but I am unsure of how to do so.
October 18, 2017 at 09:35 am - Permalink
Perhaps try this:
WAVE/T tw=$waveNameInString
Grep/INDX/Q/E="T1" tw
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
October 18, 2017 at 09:52 am - Permalink
Grep Error:
expected ';' or
Is there a way I can fix this error?
October 18, 2017 at 12:29 pm - Permalink
Not unless you show us the entire function and what you're executing on the command line.
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
October 18, 2017 at 06:14 pm - Permalink