[Paraview] Using Paraview with undefined length of data

Bastien Purnelle bastien911 at gmail.com
Mon May 2 13:20:34 EDT 2011


Thanks Pat,

I have searched for information about the live-data feature, but I
found only two interesting links :
http://www.vtk.org/Wiki/ParaView:Live_Data_Introduction and
http://www.vtk.org/Wiki/Animating_Live_Data
In my case, the generating data program is a car embedded platform
programming with C++/Qt. It contains a main program that manage many
processes. Each process can be launched to do a particular feature and
can communicate together with shared memories. For example, there is a
process that reads vehicle speed from car network (CAN bus) and saves
data into a shared memory. Another process uses this data to do some
treatments with other data. The car is equipped with others sensors as
radar, or lidar, or camera... and an process save data into the shared
memory.
The goal of my project is to create a process that read some data in
many defines shared memories and to send this data to Paraview so that
it displays for example a graph of speed changes and a representation
of the car environment thanks to the radar and other data that we can
choose before launching the process.
So the process must be available to launch Paraview, open a predefined
configuration and send in real time all data read into shared
memories.
For now, I have only played with Paraview thanks to some tutorials,
but each time, data comes from a fixed file.
First I would like develop a simple process that send the vehicle
speed (a float number) and displays the value in a graph view into
Paraview.
Where can I found Paraview sources that use live-data ? Is there an
example of program that interface with paraview library and send
live-data ?
Thank you in advance for your help.

Bastien

2011/4/27 pat marion <pat.marion at kitware.com>:
> Hi Bastien,
>
> There is a feature called live-data that is able to display time variant
> data as it is produced by a simulation code.  The feature is currently
> available in a branch of paraview, not the main release.  To use this
> feature, the simulation code, or whatever external program is generating
> data, must interface with a paraview library through fortran, c, c++ or
> python.  The interface process is meant to be easy for a programming who is
> familiar with VTK, but will require some effort if you are new to VTK and
> cmake.  If you tell me a little more about your program that is collecting
> sensor data (don't be afraid to go into detail...), maybe I can come up with
> some ideas for how you could interface it with paraview.
>
> Pat
>
>
>
> On Wed, Apr 27, 2011 at 5:31 PM, Bastien Purnelle <bastien911 at gmail.com>
> wrote:
>>
>> Hello,
>>
>> I'm developing an interface for displaying data from car embedded
>> sensors (lidar, odometers,  ...) in real time. However, Paraview work
>> with finite data files and I'am searching a mean to use Paraview with
>> time changing data. Is it a solution with Paraview (create a plugin, a
>> python script) ?
>> Thank you in advance...
>>
>> Best regards.
>>
>> --
>> Bastien
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list