comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Scrolling data to display window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Scrolling data to display window [message #12507] Thu, 13 August 1998 00:00
Paul[1] is currently offline  Paul[1]
Messages: 1
Registered: August 1998
Junior Member
New to the group and still learning PVWave!

Using v6 on Solaris

Using PVWave for our off-line analysis, but want to provide a quick look as
we go
through a measurement, so desirable to use same analysis program for the
purpose.


I have a real-time data set where new data comes in every couple of seconds.

What I want to do is to display the current 1D array as a magnitude
intensity 'strip' on screen and create a rolling display window.
Each data set consists of 256 samples of magnitude (values +/- 100 max)

When the next data comes in the current window contents scroll right (or
perhaps up!) and the new data set then gets put on screen.

Effectively a rolling map of the previous 50 or so data chunks gets
displayed with v.old data disappearing off the end of the window.


My first guess is to create a 2D array data magnitude & time, update this
array and for each 'tick' interval
re-display the whole array. This works, but I feel its an unnecessary waste
of CPU, memory etc.

I'd like to
i) Set a fixed display window, fixed colour table, labels etc.

ii) Scroll current window either sideways or up (don't care which) dept on
solution

iii) Put new strip on screen at left or bottom

iv) Wait for next data

I can replot a 2D array etc. but wish to know if

a) My revised proposals are practical in PVWave
b) What routines I should be looking at for item (ii) and (iii) in
particular
c) General areas to be wary of!!!!

Thanks for any advice

Paul
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: c compilers on Alpha/NT for call_external
Next Topic: widgets and objects

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:13:34 PDT 2025

Total time taken to generate the page: 0.00314 seconds