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
 freezing display until updating finished

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
andrewdsto Posted - 01/14/2009 : 12:52:18 AM
Origin Ver.8.0 pro and SR 4(Select Help-->About Origin):
Operating System: win XP

HI all,

Is there anyway to freeze the display until I have finished updating and processing data, graphs etc so that it is 'invisible' to the user. This is able to be done in visual basic, for example, where the user pushes a button I freeze the display and manipulate graphs etc and once everything has been completed I unfreeze the display and the user only sees the final manipulated graph.

I have looked and could not find anything so I assume it does not exist in labtalk. If I am wrong could you please point out where this is.

If this feature does not exist then perhaps originlab may be interested in adding this to future service packs or releases. It can be messy from a users point of view to see graphs being created, resized and deleted, worksheets popping up and disappearing before the final item is displayed.

On another note: one reason I would like this is, in order to duplicate and make identical empty layers in a graph I need to create multiple graphs from templates and then merge them. which I find messy. Perhaps a command to duplicate a layer as well as create a new layer could be incorporated in future release.

Alternatively if anyone knows how to do this simply I would also be interested. I hope I haven't missed a simple command to do this.

thanks Andrew
1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 01/14/2009 : 10:00:37 PM
Maybe you can hide the whole Origin while your script is running?

doc -m 0;//hide Origin main window
doc -m 1;//show

so you can do something like this, with script window to show progress:


    doc -m 0;
    type -a "Please	wait...";
    //do your things
    //for now, just some loop to waste time
    loop(i,1,10) {
    	sec -w 1;
    	type "$(i): continue to wait...";
    }
    doc -m 1;
    



CP

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