The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Open a file to auto import a specific file.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ravin614

USA
1 Posts

Posted - 08/10/2010 :  2:46:58 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): Origin 7.5 SR4 v7.5853 (B853)
Operating System: Microsoft Windows XP Professional Service Pack 3 (Version 2002)

I have already set up an Origin import template to import various .csv files that I created with a java coded program I wrote up. I would like to be able to create a file that I can click on in Windows Explorer which would execute a script I can write that will run the import wizard with an import template that I can hardcode the location of on a file that I can also hardcode the location of.

The file gets updated with each run of the program, and the import template knows how to read it into various X-Y columns, then creates a graph of the data.

---

Also, another question, hardly as important as the first; when I run a labTALK script to plot the data be it "worksheet -p;", "worksheet -p 201;", "worksheet -p 201 Scatter.otp;", or "worksheet -p Scatter.otp;" it always only gives me 2 trace labels on the legend instead of showing them all. If I take the same data selection that is used when I type whatever command in the script window and right click to plot a Scatter graph or even use the plot : template library and select "Scatter.otp", I get the graph with all of the trace labels on the legend. How can I get this to work correctly with labTALK commands?

Sorry if any of my message is worded in a way that causes confusion and thanks in advance for any help you can give,
Ravin.
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000