LoadWave problem: loading a matrix and dealing with case of header only
Thu, 03/05/2020 - 09:47 am
I am loading delimited text files into Igor. I would like to store each file as a 2D wave. There are hundreds and some may have headers but no data. How can I best handle this scenario?
Ideally for the no-data file, I'd like to make a 2D wave that is empty. This is because for each experiment I have three different files and I need to be able to do calculations between the resulting 2D waves using a naming convention to do so. Right now I do for one type of file:
and I get an error for files with no data rows.
I previously asked a similar question https://www.wavemetrics.com/forum/general/telling-igor-skip-empty-data-…
But that solution doesn't work here because the file has a header row, plus I don't know how to use GetRTError correctly to handle error suppression. Any help appreciated!