Hey all, Does anyone know how to import a whole ascii file into a worksheet (either a new one or a template) using labtalk script, without any of the lines being put into the column name or label? I've tried and always seem to only get the last line put into the cells, with the rest put in the column name and label. (The ascii file is separated by semi colons if that helps.) Any help would be appreciated! Thanks!
Have you tried changing the ASCII Options of your wks template? (I don't think you can set them from LabTalk.)
File Header section... Specify number of lines to skip in header. Specify known subheader lines = 0. Maximum # lines to store in column labels = 0 //that may be unnecessary
Other Options... Deselect these options Rename columns if 1st line contains labels. Create column labels from Header.
Thanks, Greg for this hint. How do you know this since this ascimport object is not in the Origin LabTalk Help V7SR4? (also a question to the Origin staff)