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
 Origin 2019: Cannot open templates with long names

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
ds755 Posted - 12/13/2018 : 08:09:27 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin 2019
Operating System: Windows 8.1

Hello,

after upgrading to Origin 2019, I cannot seem to open certain Origin templates with the win -t p command. Other templates work fine. I then try to save these templates again (from a graph) and re-call them via the command line and they still fail.

These templates had particularly long filenames. Has something changed in this version? My scripts used to work fine in 2018.
5   L A T E S T    R E P L I E S    (Newest First)
yuki_wu Posted - 01/04/2019 : 04:37:56 AM
Hi,

We haven’t changed this command in new version, but for this command, if the path includes spaces, we must surround the path with quotation marks (" "), like the document said:
https://www.originlab.com/doc/LabTalk/ref/Window-cmd#-t.3B_Create_a_new_window_from_the_template_file

Regards,
Yuki

OriginLab
ds755 Posted - 01/03/2019 : 05:18:06 AM
Hi Yuki,

Including the path inside the quotes did the trick!

But I never had to do that before, as all my templates were in the (default) User Files folder. I used to call them by just using the script filename (win -t p "TGBC..."), a method that still works on scripts with short filenames. Did something change?

Thanks for your help.
yuki_wu Posted - 12/17/2018 : 01:02:27 AM
Hi,

I tried on my machine and I could create a template graph window as expected. Did you surround the path with quotation marks(“”) like:

win -t p "C:\Users\yuki\Documents\OriginLab\User Files\TGBC-WGOFET_IDTBT_6.7-gl_83pDCB-17pCF_100C-1h_TCNQ-10-pww_cycle_800_min_step_1_up-H2O_Idon_Idoff_Igon_Igoff_vs_time_Vd=-1V.otpu"

Regards,
Yuki

OriginLab
ds755 Posted - 12/14/2018 : 05:14:40 AM
Hi Yuki,

Please look at this link and try to load the template with the win -t p command (place it in the User files folder first).

https://www.dropbox.com/s/n0xowdyrhmfnmjb/problem.rar?dl=0

I should also mention that if I shorten the filenames then it works again, which is probably what I will have to do in the end. It's just strange.
yuki_wu Posted - 12/13/2018 : 9:03:55 PM
Hi,

Could you please show me an example? What is the filename of the template?

I tried as you mentioned, but it works fine.

Regards,
Yuki

OriginLab

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