Hi,

My environment is a Linux system.

I want to plot data in 2D-graphs.

The data are represented by ASCII integers in the range of 
0 to 65535 in a kind of "csv"...

The data are given in blocks, which are repeated along 
the stream.

$1;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$5;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$2;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$6;1;;00000;00000;00000;00000;0
$3;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$7;1;;00000;00000;00000;00000;0
$4;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$8;1;;00000;00000;00000;00000;0

"$<n>" where "n" represents the "kind of measurement" (for example 
       "$1" contains values of all channels of the measurement of
       the temperatur, each value stand for the output of one sensor.
1      is no value. It is just there and should be ignored.
00000  is the measurement value itsself. It is always represented by 
       five digits, anything greater "0" have leading zeroes, for
       example 03141.
0      at the end of each line is a "end of line"-marker(I guess).

The blocks are repeated n times with a constant frequency, each 
represents one reading of all sensors.

Each graph is build from the series of <n> values of a certain sensor
of a certain kind of measurement ("$<n>") of all blocks. That is:
The graph consists of as much values as there are blocks given.

Here is an example:

$1;1;;00000;00000;val01;00000;00000;00000;00000;00000;0
$5;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$2;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$6;1;;00000;00000;00000;00000;0
$3;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$7;1;;00000;00000;00000;00000;0
$4;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$8;1;;00000;00000;00000;00000;0
$1;1;;00000;00000;val02;00000;00000;00000;00000;00000;0
$5;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$2;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$6;1;;00000;00000;00000;00000;0
$3;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$7;1;;00000;00000;00000;00000;0
$4;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$8;1;;00000;00000;00000;00000;0
$1;1;;00000;00000;val03;00000;00000;00000;00000;00000;0
$5;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$2;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$6;1;;00000;00000;00000;00000;0
$3;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$7;1;;00000;00000;00000;00000;0
$4;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$8;1;;00000;00000;00000;00000;0
$1;1;;00000;00000;val04;00000;00000;00000;00000;00000;0
$5;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$2;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$6;1;;00000;00000;00000;00000;0
$3;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$7;1;;00000;00000;00000;00000;0
$4;1;;00000;00000;00000;00000;00000;00000;00000;00000;0
$8;1;;00000;00000;00000;00000;0


where val01,vall02,val03,val04 build the first four values of one of
the graphs to plot (four values of the same sensor).

Ideally there is no reformatting of the data with Unix/Linux tools
like sed, grep, awk,....etc in beforehand of the handling of the data
with paraview.

Ideally the stream of blocks is read from /dev/ttyS0 (RS232 serial interface 
of Linux). Second choice would be to first record the data and display
then.



* What steps are needed to correctly display the data as 2D-graphs
  in paraview?

* Is it possible to read the data directly and "life" from the serial
  interface?



Thank you very much in advance for any help!
Best regards,
mcc





_______________________________________________
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

Reply via email to