<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Pat,</div><div><br></div><div><font class="Apple-style-span" face="Arial">Thank you. In order to answer to your question, my project use CMake.</font></div><div><font class="Apple-style-span" face="Arial">For now, I have installed git and download paraview sources. I have changed to branch live-data, and I am doing a </font><span class="Apple-style-span" style="white-space: pre; "><font class="Apple-style-span" face="Arial">git submodule update (I am seeing it is downloading vtk sources)</font></span></div><div><span class="Apple-style-span" style="white-space: pre; "><font class="Apple-style-span" face="Arial">Next I have to configure cmake, which option must be activated for my case ? After, I will do a make in order to compile paraview...</font></span></div><div><span class="Apple-style-span" style="white-space: pre; "><font class="Apple-style-span" face="Arial">And after ? How can I test paraview with live data ?</font></span></div><div><span class="Apple-style-span" style="white-space: pre; "><font class="Apple-style-span" face="Arial">What have I to do with </font></span>libvtkCoProcessor.so library ? My project use system of shared memories. Is it possible to create a function into the coprocessor library so that the function read a shared memory and update paraview view ?</div><div>Have you an example, because the work I have to do isn't very clear !</div><div>Thank you !</div><div><br></div><div>Bastien</div><br><div><div>Le 9 mai 2011 à 14:42, pat marion a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Bastien,<br><br>The live-data code is currently hosted on github. The repository url is git://<a href="http://github.com/patmarion/ParaView.git">github.com/patmarion/ParaView.git</a> and the branch name is live-data. I think the live-data branch might be more than you need. It is designed to run in a client-server configuration with a parallel server (though the parallel part is not required.) When the live-data branch is eventually merged with paraview master, I hope to update it so that does not require client-server, but that work has not been done yet. If you're willing to run in client-server mode then the live-data branch will work for you. The first step it to try linking your project with the coprocessor library (libvtkCoProcessor.so) and then try writing an adapter that converts your data into a vtk data object. Does your project use CMake? If not, you will have to write link and include lines yourself for your Makefile.<br>
<br>Pat<br><br><div class="gmail_quote">On Mon, May 2, 2011 at 1:20 PM, Bastien Purnelle <span dir="ltr"><<a href="mailto:bastien911@gmail.com">bastien911@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">Thanks Pat,<br>
<br>
I have searched for information about the live-data feature, but I<br>
found only two interesting links :<br>
<a href="http://www.vtk.org/Wiki/ParaView:Live_Data_Introduction" target="_blank">http://www.vtk.org/Wiki/ParaView:Live_Data_Introduction</a> and<br>
<a href="http://www.vtk.org/Wiki/Animating_Live_Data" target="_blank">http://www.vtk.org/Wiki/Animating_Live_Data</a><br>
In my case, the generating data program is a car embedded platform<br>
programming with C++/Qt. It contains a main program that manage many<br>
processes. Each process can be launched to do a particular feature and<br>
can communicate together with shared memories. For example, there is a<br>
process that reads vehicle speed from car network (CAN bus) and saves<br>
data into a shared memory. Another process uses this data to do some<br>
treatments with other data. The car is equipped with others sensors as<br>
radar, or lidar, or camera... and an process save data into the shared<br>
memory.<br>
The goal of my project is to create a process that read some data in<br>
many defines shared memories and to send this data to Paraview so that<br>
it displays for example a graph of speed changes and a representation<br>
of the car environment thanks to the radar and other data that we can<br>
choose before launching the process.<br>
So the process must be available to launch Paraview, open a predefined<br>
configuration and send in real time all data read into shared<br>
memories.<br>
For now, I have only played with Paraview thanks to some tutorials,<br>
but each time, data comes from a fixed file.<br>
First I would like develop a simple process that send the vehicle<br>
speed (a float number) and displays the value in a graph view into<br>
Paraview.<br>
Where can I found Paraview sources that use live-data ? Is there an<br>
example of program that interface with paraview library and send<br>
live-data ?<br>
Thank you in advance for your help.<br>
<br>
Bastien<br>
<br>
2011/4/27 pat marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>>:<br>
</div></div><div><div></div><div class="h5">> Hi Bastien,<br>
><br>
> There is a feature called live-data that is able to display time variant<br>
> data as it is produced by a simulation code. The feature is currently<br>
> available in a branch of paraview, not the main release. To use this<br>
> feature, the simulation code, or whatever external program is generating<br>
> data, must interface with a paraview library through fortran, c, c++ or<br>
> python. The interface process is meant to be easy for a programming who is<br>
> familiar with VTK, but will require some effort if you are new to VTK and<br>
> cmake. If you tell me a little more about your program that is collecting<br>
> sensor data (don't be afraid to go into detail...), maybe I can come up with<br>
> some ideas for how you could interface it with paraview.<br>
><br>
> Pat<br>
><br>
><br>
><br>
> On Wed, Apr 27, 2011 at 5:31 PM, Bastien Purnelle <<a href="mailto:bastien911@gmail.com">bastien911@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> I'm developing an interface for displaying data from car embedded<br>
>> sensors (lidar, odometers, ...) in real time. However, Paraview work<br>
>> with finite data files and I'am searching a mean to use Paraview with<br>
>> time changing data. Is it a solution with Paraview (create a plugin, a<br>
>> python script) ?<br>
>> Thank you in advance...<br>
>><br>
>> Best regards.<br>
>><br>
>> --<br>
>> Bastien<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ParaView Wiki at:<br>
>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>
</blockquote></div><br></body></html>