batch matrix wave load failing
sleepingawake86
function LoadMatrices()
variable ii,jj=0
Do
For(ii=0;ii==10;ii+=1)
loadmatrix(jj,ii)
endfor
jj+=1
while(jj<1001)
end
function loadmatrix(jj,ii)
variable ii,jj
string basestr=num2str(jj)+"-"
string loadstr= "C:Users:Admin:Documents:WLIM:6.12.12:HeNe:"+num2str(jj)+"-"+num2str(ii)
LoadWave/J/M/D/A=$basestr /K=0 loadstr
end
variable ii,jj=0
Do
For(ii=0;ii==10;ii+=1)
loadmatrix(jj,ii)
endfor
jj+=1
while(jj<1001)
end
function loadmatrix(jj,ii)
variable ii,jj
string basestr=num2str(jj)+"-"
string loadstr= "C:Users:Admin:Documents:WLIM:6.12.12:HeNe:"+num2str(jj)+"-"+num2str(ii)
LoadWave/J/M/D/A=$basestr /K=0 loadstr
end
to
or
June 15, 2012 at 08:39 pm - Permalink