Dashboard for Remote Data
Periodically send a list of points from your Wolfram Cloud account, or any other Wolfram System, to a channel named "points".
In[1]:=
![Click for copyable input](assets.en/dashboard-for-remote-data/In_48.png)
task = RunScheduledTask[
ChannelSend[
ChannelObject["points"], <|"points" -> RandomReal[{0, 1}, 100]|>],
1]
![](assets.en/dashboard-for-remote-data/O_51.png)
In your desktop session, start listening on that channel, and arrange to dynamically plot incoming points as they arrive.
In[1]:=
![Click for copyable input](assets.en/dashboard-for-remote-data/In_49.png)
listener = ChannelListen["points"]
Out[1]=
![](assets.en/dashboard-for-remote-data/O_52.png)
In[2]:=
![Click for copyable input](assets.en/dashboard-for-remote-data/In_50.png)
Dynamic[ListLinePlot[
If[AssociationQ[#], Lookup[#, "points"], {}] &@listener["Message"],
PlotTheme -> "Marketing"]]
Out[2]=
![](assets.en/dashboard-for-remote-data/O_53.png)
Remove the listener and stop sending data in the cloud.
In[3]:=
![Click for copyable input](assets.en/dashboard-for-remote-data/In_51.png)
RemoveChannelListener[listener]
Out[3]=
![](assets.en/dashboard-for-remote-data/O_54.png)
In[4]:=
![Click for copyable input](assets.en/dashboard-for-remote-data/In_52.png)
RemoveScheduledTask[task];