[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
plotting while simulation is running?
From: |
Francesco Potorti` |
Subject: |
plotting while simulation is running? |
Date: |
Fri, 27 Sep 96 09:58 MET |
I like plot the results ( say setpoint tracking) while the
simulation is running. Also I like to be able to change the PID
settings on the fly, i.e. while the program is running.
I fear what you need is a simulation program. Anyway, with some
effort, you could do what you want, I think.
For the plotting, you could have octave plot your data every second or
so, or have it write your vectors on a file every second or so, and
have some concurrent process read the file and display it
continuously.
For the changing, you'd need to put the value of your parameters in a
file, and have octave read them at each iteration. Another process or
shell script would change those parameters on the fly.