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
 Forum for Origin C
 Problem: Automating a Repetitive Routine Tutorial

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
gbellidograins Posted - 04/09/2008 : 9:47:38 PM
Origin Version (Select Help-->About Origin): 7.5
Operating System: Windows XP
I am unable to run the "Automating a Repetitive Routine" Tutorial of Origin. The Tutorial works well until step #5. In Step #6 I was lost. This step will open a blank Data1 sheet in a new project. Typing in the script window "Process %yTutorial\Sample.txt" causes it to prompt "File not found". I guess the problem is that the C code makes reference to the file "FileName" and so it is unable to read the file "Sample" which is located in a directory "C:\Program Files\OriginLab\Origin75\Tutorial"; not "Tutorial\Sample.txt" as the tutorial suggests.

I would appreciate it very much to get some help.

Thanks.
1   L A T E S T    R E P L I E S    (Newest First)
Echo_Chu Posted - 04/15/2008 : 04:44:54 AM
Hi,

In Origin75, %y has been changed to refer to "The full path name to the User Files folder". I am sorry that our document is not updated.

In step6, please use following script insteadly

%a=system.path.program$;
Process %aTutorial\Sample.txt

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