plotting with wifi

Support forum for MegunoLink
Post Reply
kd6kca
Posts: 2
Joined: Sun Jun 20, 2021 4:05 pm

Wed Oct 20, 2021 9:48 pm

I find lots of examples of plotting with a serial link.
But I want to plot over UDP.
I just can't get the XYPlot to work over UDP.
My XYPlot constructor is "XYPlot UDP_XY_Plot, udp;"
To send data to the UDP plot "UDP_XY_Plot.SendData("P1Watts", DataPointX, P1Watts);".
To clear the plot "UDP_XY_Plot.Clear();" (I first plot with serial).

The documentation describes the constructor with no real detail.
Then always shows an example using serial.
If I had an example of plotting over UDP I'm sure I could handle the rest.
Can only one constructor be defined at a time?
I have constructors for both serial and UDP defined.
The serial method works perfectly.
I can send UDP interface panel button commands to the Arduino ok, but can't get UDP_XY_Plot to work.
I can try with just 1 constructor (haven't tried that yet).
Any help would be much appreciated.

Ed
philr
Posts: 446
Joined: Mon May 26, 2014 10:58 am

Tue Nov 16, 2021 7:38 am

Hi Ed, did you have any luck? What microcontroller are you using?

Cheers
Phil
Post Reply