Machine-dependent Macro performance
tdsteiger
Open/Z/R/P=dataPath Filevar as FileName
FStatus (FileVar)
if (V_Flag==1)
FSetPos (FileVar), (V_logEOF-15)
FReadLine/T=(num2char(13)) (FileVar),ReadStr
df=str2num(ReadStr[strsearch(ReadStr,"=",0)+1,strlen(ReadStr)])
else
Abort "FILE NOT FOUND"
endif
I am running Igor Pro 6.0.3.1 on two nominally identical ThinkPad T61
machines running Windows XP Professional Version 2002 Service Pack 2.
Here's the problem: On one machine the code works fine; on the other
machine for some reason V_Flag never gets set to 1 so the code always
aborts. Any ideas?
April 10, 2008 at 12:36 pm - Permalink