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
 problems using "wextract" - X function from Skript

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
tschunck Posted - 01/05/2026 : 08:39:28 AM
Origin Ver. 2025(64bit) and Service Release 10.2.0.188
Operating System: Win11

I am trying to use the wextract-X-function for data analysis from LABTalk-Skript.

- First I tried to do analysis on my own data and caused a series of program breakdowns. Due to our it-security (firewall) Orgin was not able to send reports.
- Then I strictly stayed to an programming example given in the X-Function help file. Still Origin shuts down (and is not able to send a report).
- At last I went to another Origin user in my company and tried the same example on her computer (the 1st example from the X-funstion help file) and it works. Origin Installation was done frome the same setup-File! We use same version of software.

- Finally, I decided to Repair my installation and used the setup file. No Success! Wextract function always causes Origin to breakdown on my computer if I run it from Labtalk Script-Window.

If I use the built in Menu-Worksheet-Extract data from worksheet Button everything works as it should....


Is there anything I can do?
12   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 01/09/2026 : 08:44:30 AM
Could you use the link below to contact OriginLab technical support?
https://www.originlab.com/restricted/support/newticket.aspx

Yiming
tschunck Posted - 01/08/2026 : 03:39:55 AM
Sorry for posting again, but...

after I opened up a new user folder yesterday at last the wextract X-function worked and I decided to build up the script for my data. Everything worked as it should.

Coming to office today i started my computer an Origin again and again on execution of wextract X-function Origin closes down.
Sure I could repeat the whole process again but I fear that there must be another reason for the observed instability.

Do you have any ideas what I could check in order to get the program running stable?
tschunck Posted - 01/07/2026 : 02:47:16 AM
This morning I again followed the instructions given in

https://www.originlab.com/doc/en/Quick-Help/System-Folder-Build-Failed
(del -occlean; del –path; neuer Anwenderdateienordner)

and again tested wextract function.

This time I don´t have success. Wextract still can´t operate and causes breakdown of the program.

.
.
.


I tried it for another time and now succeeded.
wextract does work when everything is cleaned up from scratch.

To me it seams clear that changing @PESS changes the behaviour of x-function execution.
tschunck Posted - 01/07/2026 : 02:29:24 AM
wextract iy:=[Book1]Sheet1!col(A) settings.stAlias.Cols:=1
settings.stAlias.AliasNames:=A
settings.stCondition.Condition:="A<6"
settings.Cols:=1;



Info:
[Book1]Sheet1!col(A) contains numbers 1,2,3,4...10
[Book1]Sheet1!col(B) contains numbers 2,4,6,8...20

It´s the first example given in the help file for X-Function V2025 (local help file not internet version).


YimingChen Posted - 01/06/2026 : 3:33:09 PM
The preview in PE shouldn't affect the Xfunction. How did you run the Xfunction, can you paste the Labtalk line here? Thanks.
tschunck Posted - 01/06/2026 : 10:20:28 AM
Now I returned to Origin and set @PESS = 15; which was the setting before I switches to @PESS=-1.

Still the X-function doesn´t work and Origin closes.

Do I again have to restore my folders?
tschunck Posted - 01/06/2026 : 10:15:16 AM
Thanks for quick answer:

I just tried out and have set @PESS = -1; in order to get rid of the preview in explorer .

Now, again the x-function wextract doesn´t work anymore!
YimingChen Posted - 01/06/2026 : 09:43:10 AM
1. Please check this FAQ page to disable preview in Project Explorer.
https://www.originlab.com/doc/Quick-Help/disable-pe-previews-smart-hints

2. In the script window, select menu Edit:Enable Auto Complete.

Thanks, Yiming
tschunck Posted - 01/06/2026 : 08:53:54 AM
I also find that now, in script window, all help displays (when you enter a Labtalk command a "message window" opened up which guides you through the options of the command you are using) disappeared.
tschunck Posted - 01/06/2026 : 08:21:55 AM
Sorry for coming back after having stated , that everything works fine.

Now, I experience that in my origins projekt explorer "window" I do have a preview of the the items listed in the window.
This feature is very nasty. The Preview is that big, that it covers the whole window and I some time before was able to turne it off by setting some system variables. Unfortunatelly, I can´t remeber the exact procedure.

- Could you please provide help for this and
- Does it have to do something with my former X-functin problems?
tschunck Posted - 01/06/2026 : 02:43:52 AM
Thank you very much for the quick support. I was able to resolve the issue, following your input!
Thanks a lot!

quote:
Originally posted by YimingChen

Could you try the steps on this FAQ page to reset the User Files Folder, see if it resolves the issue? Thank you.
https://www.originlab.com/doc/en/Quick-Help/System-Folder-Build-Failed

Yiming

YimingChen Posted - 01/05/2026 : 11:35:38 AM
Could you try the steps on this FAQ page to reset the User Files Folder, see if it resolves the issue? Thank you.
https://www.originlab.com/doc/en/Quick-Help/System-Folder-Build-Failed

Yiming

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