Accelerometer window in streaming is 15 sek; in playback it is 3 sek. It can not be changed
Remark: with >4 channels vertical arrangement may not be possible but it will look better anyhow I think
Remark: Time series window should have 10 sec instead of 7 sec as largest window ( steps should double previous value (1,2(3),5,10, 20....)
W7
4.0.3
Are you running the downloaded app or are you running from Processing 3
N/A
N/A
Window should have same dimension and location as time series (to appear aligned when time series and acc are arranged vertically. Hence also vertical scale of acc may be left instead of right.
Like this?

Remark: Time series window should have 10 sec instead of 7 sec as largest window ( steps should double previous value (1,2(3),5,10, 20....)
Great suggestion! A 10 second option can definitely be added.
Same width + alignment is just nice to have. I mentioned it just for completeness ( I consider Acc as a kind of time series) Suggest to change 7 sec to 10 and add 20. Probably 1 sec is not needed if 3sec change to 2sec. In full screen width it high resolution anyhow.
Remark: Time series window should have 10 sec instead of 7 sec as largest window ( steps should double previous value (1,2(3),5,10, 20....)
@jps2000 Can you please change the title to something like "Sync horizontal scale of Time Series and Accelerometer widgets" ?

Also, #247 has just been fixed!!! 馃挴


@jps2000
Great. Thank you very much.
Is it so that window is adjusted in time series and affects both widgets? ( in stream and playback)
I do not know how much time you can / like to invest more
Would be nice to have same light and dark grey bar with at least vert scale adjustment .
Vert scale +/-( 1),2,4. ( mostly it will be in the range +/-1)
Great. Thank you very much.
Is it so that window is adjusted in time series and affects both widgets? ( in stream and playback)
I do not know how much time you can / like to invest more
Would be nice to have same light and dark grey bar with at least vert scale adjustment .
Vert scale +/-( 1),2,4. ( mostly it will be in the range +/-1)
Yes, the functions are there but not being used yet. I need to get the data displayed on the graph first.
@retiutut look at the analog widget for inspiration!
@andrewjaykeller mind reader!

You are progressing. Great job.
This demo triggers another suggestion.
Clear graphs in time series and acc at starting point of the playback bar
Alternatively put a marker (vertical line or bar) there
Another great thing would be a horizontal (time) scale under the playback graph or just indicating begin and end time.
Can open a new issue if you support this ideas.
How can I access the analog widget?
How can I access the analog widget?
With a Cyton board in Live mode
Clear graphs in time series and acc at starting point of the playback bar
Alternatively put a marker (vertical line or bar) there
This may need to be done:
Markers can be done but I need to get the graphs synced first
Another great thing would be a horizontal (time) scale under the playback graph or just indicating begin and end time.
Look at the status bar of the bottom of the GUI while in Playback Mode. Also the app's titlebar. This would difficult to fit.
Window should have same dimension and location as time series (to appear aligned when time series and acc are arranged vertically. Hence also vertical scale of acc may be left instead of right.
Window should go together with time series --> add adjustment in acc widget and synchronize selection with time series widget.


You are doing great. It was significant effort but it improved tremendously.
Just had another idea. you may consider to have acc x on, acc y on, acc z on separately. sometimes just one axis is interesting.
But that's just in case you face boring times....
Decision to do something is interest * priority
Great progress.
However it would be more logical to have the sync button in the acc widget.
But you invested already plenty of time in that stuff.
As I do not see applications not to sync windows.
The playback bar is appearing in time series widget only ( rightfully). Hence considering time series as master,it would be most easiest to skip the sync button ( leaving sync = on behind) and skip the window button in acc widget.
Then we are there with littlke further headache.
I suggest to stop than this topic and invest time better in other things.
(I have plenty of other ideas (un)fortunately.)
But anyhow applause applause and thank you for your effort.
Pls have a look at the the signals they seem to be offset about 1/2 second??
@jps2000 No worries, you have such great and workable suggestions!!! 馃
However it would be more logical to have the sync button in the acc widget.
But you invested already plenty of time in that stuff.
I put it in Time Series because you can't view Accelerometer and Analog Read data at the same time, I think. So I would have had to put a "Sync" dropdown in both Accel. and Analog Read widgets.
As I do not see applications not to sync windows.
Then I will set the default option to "On"!
Hence considering time series as master,it would be most easiest to skip the sync button ( leaving sync = on behind) and skip the window button in acc widget.
I think someone might want to have the option to turn it off. But I can make it so that "Sync" is "On" 100% of the time, unless users change/save the setting.
Pls have a look at the the signals they seem to be offset about 1/2 second??
Yes, this is a problem. https://github.com/jagracar/grafica/issues/11
Another solution would be to add a "sync" option to the Window dropdown of both Accelerometer and Analog Read.
I think this idea works with what you said:
However it would be more logical to have the sync button in the acc widget.

Yes, this is a problem. jagracar/grafica#11>>
Are you sure it is this?
Isnt there just an offset or is the mismatch continuously increasing ?
Then it would be a huge problem
It varies with the framerate...
To be more specific:
when you change the framerate then the x axis difference wetween time series and acc changes.
But this difference remains constant.
BTW I do not know what this change in framerate does neither what it it is good for nor how do I change it
I've been looking at this problem for days. It does what it does and it isn't right. Time Series works, accelerometer doesn't and is influenced by framerate.
Still not clear what you are saying. lets assume time series are displayed real time. There are ticks in 1 second distance. If you make also ticks with acceleration accelerometer is displayed not synchronously?
the 1 sec ticks appears stretched or compressed or just shifted? And the shift is constant or increasing?
The time series points and Gplot (top) update at a constant 250hz.
The accelerometer points and Gplot (bottom) update based on actual framerate, or 28~45fps, and not a constant 25Hz.

Thanks
I will test it once your synchronized time frame software is released.
Just to clarify: The frame rate determines the refreshing of the GUI widget?
Why do I need to change that?
There is likely another acc issue. Maybe only in ganglion. It seems that acc enters sleep mode when not moved fast enough. But I will come back on that later. I think this is a peripheral software issue and not one of the GUI
Tested using X axis only and Ganglion.
Thanks for the guidance @andrewjaykeller! 馃敟

Looks good @retiutut that's amazing you just did that.
yeah
Huge huge improvement!!!!!!!!
Have you tried to hold ganglion constant e.g. on the table for some seconds and then turn slowly to the side?
Is the acc following also small turns or do you need to shake it first to get an reaction?
lol no shaking necessary I promise

Not sure but is there no zero line?
like to see zero marked at least . better add a grid /horizontal lines please
Done. As simple as changing:
plot.drawGridLines(0);
to
plot.drawGridLines(2);

Solved in 4.0.1
Thank you looks great now
Most helpful comment
You are doing great. It was significant effort but it improved tremendously.
Just had another idea. you may consider to have acc x on, acc y on, acc z on separately. sometimes just one axis is interesting.
But that's just in case you face boring times....
Decision to do something is interest * priority