Hi Greg78,
The following x-function works in the latest Origin 2018b:
impASC fname:=C:\Temp\mydata.dat options.FirstMode:=3 options.headers.AutoSubHeaderLines:=0 options.Cols.ColDesignations:=(XY) options.Miscs.NonNum:=3;
See the details of the options at: https://www.originlab.com/doc/X-Function/ref/Details-of-TreeNodes-in-Import-ASCII
I just got these options by pressing "Generate Script" shortcut menu from the manually opened impASC dialog.
I cannot test Origin 9.0, but at least I could try Origin 9.1. It seems that the notation of the option settings
was quite revised later, and fewer options are available than in ver. 2018b such as options.Cols.ColDesignations
for the column designations. The following x-function worked in my Origin 9.1:impASC fname:=C:\Temp\mydata.dat options.ImpMode:=3 options.Hdr.AutoSubHdr:=0 options.Miscellaneous.NonNum:=3;
In either case, every column after the first XY pair gets an empty row added at the top, and you need to take care of it.
Hope this helps.
--Hideo Fujii
OriginLab