Open jeremypmeyers opened 8 years ago
It appears that we can import a .sdu file as a single text wave using the delimited text wave.
We can then extract information about individual steps with the following code snippet. function sduanalysis() wave /t textwave0 variable i=0 do string sduline=textwave0[i] variable ss=strsearch(sduline,"[Schedule_Step",0) if (ss>=0) variable ss2=strsearch(sduline,"]",ss+14) print i,sduline[ss+14,ss2-1] endif i+=1 while (i<numpnts(textwave0)) end
Low priority for now, but might be nice to see if we could read in information from an Arbin .sdu or Bitrode program file to capture which items we need.