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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Open a file to auto import a specific file.

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
ravin614 Posted - 08/10/2010 : 2:46:58 PM
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.

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000