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
 about graph windows refreshement

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
compagnon@1 Posted - 09/20/2002 : 04:29:37 AM
I use OriginPro7 as a graphic server for data acquisition. A sample of data is sent Origin every 50 millisecond in a worksheet, the histogram of the sample is calculated into a second worksheet to which corresponds a XY bars graph. Finally, the first worksheet is cleared with the command clearworksheet (because the size of the samples is not constant).

1) How to inhibit the automatic refreshement of the graph due to the command clearworksheet ? (the frequency is to high, that is not so nice for eyes !!!)

2) what is the best way to update the graph ? For example I would like to refresh only the layer or the curve without refreshing all the objects of the page (buttons, text, and so on)

have you any suggestion?
thanks,
Isabelle COMPAGNON

2   L A T E S T    R E P L I E S    (Newest First)
compagnon@1 Posted - 09/23/2002 : 10:05:03 AM
Dear Mike

the command "set wksname -er xx" semms to work very well.
For the graph I have found the command "plot -c" wich refresh the data whitout changing the scale.

Thank you very much for your help !

Mike Buess Posted - 09/22/2002 : 10:45:03 AM
Hi Isabelle,

1) The clearworksheet macro does more than is probably necessary to reset your worksheet. Try using this command instead...

set wksname -er 30; // set wks to 30 rows (if there is a minimum number of samples you could use that number instead of 30)

2) You'll probably need to rescale from time to time anyway (especially if your sample size is changing) so you might use the rescale command to update the graph...

layer -a; // rescale to show all

...You might find it unnecessary to update the graph at all. Changes in the histogram data should show up automatically.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 09/22/2002 10:58:54 AM

Edited by - Mike Buess on 09/22/2002 11:32:35 AM

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