Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCChart2D for Java
 Scrolling polygraph data loss

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert 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 [?]

 
   

T O P I C    R E V I E W
KnightHawk Posted - 18 May 2006 : 22:51:26
I noticed that if you change the variable timespan of Polygraph.java to say, 1000 and run the program, the charts in Polygraph will plot data but at time 106 seconds (for me) the first quarter to half of the plotted data is erased. This trend continues erasing the first quarter to half of plotted data every now and again.

Is there a setting that corresponds to how many points of data to keep on a chart?
2   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 19 May 2006 : 09:27:07
First, you are posting in the wrong forum. Questions about the RTGraph routines belong in the RTGraph for Java forum.

Turning the AutoTruncate function off using RTProcessVar.setAutoTruncateDataset(false), is one solution, assuming that your program has a finite run time and does not acquire enormous amounts of data. Otherwise the RTProcessVar buffers holding the historical data can become huge, slowing things down. A better solution is to set the minimum and maximum values of RTProcessVar historical buffer using the RTProcessVar.setAutoTruncateMaxCount, and RTProcessVar.setAutoTruncateMinCount methods. If the autoTruncate flag is true, the buffer automatically truncates when the number of data points reaches autoTruncateMaxCount. It truncates the number of points in the data set to autoTruncateMinCount.
KnightHawk Posted - 18 May 2006 : 23:53:02
Ahhhhh, AutoTruncate sets this.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07