Hi Oliver,
This OC function reads the named Notes window and converts all lines that start with "calib_" to LabTalk variables. I don't know what your import filter looks like now but you might be able to run this function from advanced filter options.void get_calib_info(string strNote)
{
Note note(strNote);
string str1,str2,str = note.Text;
StringArray sa;
str.GetTokens(sa,'\n');
for(int i=0;i<sa.GetSize();i++)
{
if( sa[i].Find("calib_")==0 )
{
str1 = sa[i].GetToken(0,'=');
str2 = sa[i].GetToken(1,'=');
LT_set_var(str1,atof(str2));
}
}
}
Mike Buess
Origin WebRing Member