This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How to plot two channels or more on the same graph?
#3
(01-30-2023, 11:43 AM)Sebastian Staacks Wrote: setChannel simply sets the configuration and the second call replaces the previous setting. It is not possible to plot multiple curves in the same graph with the current version of the Arduino library. You either have to create a XML file with the experiment definition manually or wait for the next version, which will allow this.

In fact, the next version is already finished, but it is not compatible with the current phyphox release, so multiple curves should become available as soon as we release the next phyphox version - which should not be too long...

Hi Sebastian

Thank you. In my case I believe the "proper way" to do it is to add a new view as "Multi" just like the Acceleration with g experiment. I can do it with Phyphox editor. 
In Input Block, I would set a new input type as "Bluetooth". My BLE will send data of raw + filtered to Phyphox.

Configuration of multiple curves on the same graph is done in the Analysis tab of the Editor, wiring output buffers of raw and filtered data from the BLE node to the Multi-graph.

I will test it.

John
Reply


Messages In This Thread
RE: How to plot two channels or more on the same graph? - by John - 02-01-2023, 10:51 AM

Forum Jump: