| T O P I C R E V I E W |
| Ray111 |
Posted - 05/24/2005 : 05:20:04 AM I like to automate Acsii import option (for some fixed option) in Labtalk. DO anybody know how can I save my ascii option in ascii import option dialog box in Labtalk without displaying dialog box and then proceed to import the file using that option.
regards Ray |
| 2 L A T E S T R E P L I E S (Newest First) |
| Ray111 |
Posted - 05/27/2005 : 3:26:31 PM Thanks azazell0 for your excellent tips. works perfectly.
regards Ray |
| azazell0 |
Posted - 05/24/2005 : 1:13:08 PM Hi,
open a worksheet, set your ascii options, click the Update Options button, then save your worksheet as a template in your Origin root.
Then you can create a new window based on that template with the
window -t wks test;
command (if your template was named test). Use the
open -w filename;
command to import your data (to the active window). If there are spaces in your file path, be sure to use "filename", like "C:\My Data Files\MyData1.dat".
Edit: of course, it's not neccessary to create&import using Labtalk commands. You can do both manually from the File menu.
Edited by - azazell0 on 05/24/2005 1:23:29 PM |
|
|