I am loading the contents of a column from an Excel file as a single wave using the XLLoadWave command, however I was wondering if / how one would convert single points from this wave to individual strings (each cell in the Excel file is a line of text.
These strings would contain the name of individual file(s) which contain a 2D wave (for which I have already written a loading function) however it would save a great deal of time if the 2D wave filenames could be read from the Excel file rather than reading and manually inputting them into the loading function.
Any assistance provided is greatly appreciated.
Use a loop to process all elements of the file name wave. Each item in the wave can be assigned to a string and that string sent to your file loading function. Schematically:
Variable NumElements = DimSize(FileNameWave,0)
for(Index = 0; Index < NumElements; Index += 1)
FileName = FileNameWave[Index]
//call your file loading function
Back to top