2 Way communication with ethernet?

Support forum for MegunoLink
Post Reply
bthology
Posts: 2
Joined: Tue Aug 16, 2016 11:55 pm

Tue Aug 16, 2016 11:58 pm

Hi
I'm just about to purchase magunolink I have 2 questions though.

Is it possible to have 2 way communication using the ethnernet cable? (ie. Change the set temperature for relay control )
and 2.
Can i buy a copy and use it on 2 machines? (one for the main graphing/plotting, one to code/addon/test new stuff for my main)?.
I'm using it at home for personal use of course.

Thanks.
philr
Posts: 463
Joined: Mon May 26, 2014 10:58 am

Thu Aug 18, 2016 5:14 am

Hi,

Yep you can send UDP packets to and from an ethernet device ans yes for personal use you can use it on multiple pcs.

Cheers
Phil
bthology
Posts: 2
Joined: Tue Aug 16, 2016 11:55 pm

Sat Aug 20, 2016 11:09 am

Hi thanks for the replies.
Still trialling it, I have a problem when i close megunolink and re-open it I've lost all my previous plot data. Is there any way to resume the plots if the application shuts down?
Also any way to have black themes to make it look as cool as grafana? :D
philr
Posts: 463
Joined: Mon May 26, 2014 10:58 am

Mon Aug 22, 2016 12:10 am

You can change the plotting background using the plot properties menu on the toolbar.

Currently there is no way to restore saved plotting data.

Cheers
Phil
boilerguy
Posts: 3
Joined: Thu Jan 19, 2017 12:56 pm

Thu Jan 19, 2017 1:14 pm

Well .... you can kinda restore the plots. I've been playing around with the X-Y Plots to use it as a temperature trends on my homemade coffee roaster. I wanted to preload a temperature profile before starting the roast so I could have consistent batches.

What I did was to save plot data of a good roast. I then open the .csv in Excel, plot the data and extract the critical points from the trend. Then rebuilt a new .txt file with the critical data points in Megunolink format, similar to the demo file used to drive text and data. .txt looks like this:

{XYPLOT|data|Profile|0|0}
{XYPLOT|data|Profile|0.5|100}
{XYPLOT|data|Profile|4|325}
{XYPLOT|data|Profile|8|390}
{XYPLOT|data|Profile|12|444}

I then connect to the file, choose it in the dropdown for the X-Y Plot and run the file. I end up with a X-Y plot with a roast profile from time 0 to 12. I then connect the XYPlot to the Arduino and when I start a roast, the temperature data is plotted on the same plot starting at 0 time.

It would not be easy but you could save a plot to .csv, import into Access then create a report that would save a report in .txt with the Megunolink format, then reload the file into XY-Plot when needed.
Post Reply