A curiosity, but what device extracts the data? I use Veusz for analyzing 
real-time data, and I am very well. But normally use an intermediate program 
(written in Java) that collects data from Arduino devices or Rasp Berry, and 
resynchronize them in the time domain, then this program writes data directly 
to a CSV file which is periodically read by Veusz. I note that it is important 
to synchronize in this way, otherwise the data are therefore not comparable 
with each other. I will be happy to publish my program if I find people 
interested in using it. I've never done an equivalent in Python, because I 
very little use such language. My program works easily with a record number of 
around 1E6, each record is made up of about 20-40 fields.

Adriano

On lunedì 22 agosto 2016 10:25:59 CEST aurelio wrote:
> Excuse my poor English.
> 
> I installed your program and i think it's a valueable one!
> 
> I consider to acquire data via USB port (OS Ubuntu 16.04)  and came up
> with a partial solution. This was:
> 
> First, Write a bash script like this and save it (test.sh):
> 
> #!/bin/bash
> COUNTER=0
> while [  $COUNTER -lt 100 ]; do
>    cat < /dev/ttyUSB0
>    let COUNTER=COUNTER+1 
>    sleep 0.1
> done
> 
> exit
> 
> Second, call it under Data --> Capture --> external program --> sh
> [path to]/test.sh
> 
> The program works although seems not to acquire data each time,
> particularly at the beginning. Other inconvenience is that stopping the
> acquisition doesn't stop the "sh" process, even if veusz is close. 
> 
> Any easier or more worthwhile way to do this? I'm interested on
> acquirind data through USB... and directly in the program could be
> cool!!!
> 
> Thanks.##SELECTION_END##



_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à