
hi @athena what is the best way to display a lot of data in ARC. I have a large JSON file that is continuously updated via websockets and I can parse the data into variables and arrays and I currently display it raw in various scripts. I see there are some charts, graphs, guages etc but is there a better way to display the data in ARC in a graphical user interface? The JSON file is about 500 lines long. Here is a sample of just a subset of the data I receive that I am currently just printing using the script plugin.
Start
--------------------------------------------------------------
Time: 2021-Mar-08 17:58:21.245468 Mode: rest Voltage 17.21
--------------------------------------------------------------
Joint ID: 1 Temp: 31C Voltage: 18.5V Mode: 10 Angle: -41.51 Fault: 0
Torque: 0.39Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 2.25 dps
--------------------------------------------------------------
Joint ID: 2 Temp: 33C Voltage: 18.5V Mode: 10 Angle: 84.53 Fault: 0
Torque: -2.23Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 0.27 dps
--------------------------------------------------------------
Joint ID: 3 Temp: 35C Voltage: 18.5V Mode: 10 Angle: -3.78 Fault: 0
Torque: -1.16Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 0.54 dps
--------------------------------------------------------------
Joint ID: 4 Temp: 31C Voltage: 18.5V Mode: 10 Angle: -38.41 Fault: 0
Torque: -0.47Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 0.00 dps
--------------------------------------------------------------
Joint ID: 5 Temp: 32C Voltage: 18.5V Mode: 10 Angle: 81.58 Fault: 0
Torque: -2.35Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: -0.63 dps
--------------------------------------------------------------
Joint ID: 6 Temp: 37C Voltage: 18.5V Mode: 10 Angle: 1.66 Fault: 0
Torque: 1.60Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 2.25 dps
--------------------------------------------------------------
Joint ID: 7 Temp: 32C Voltage: 18.5V Mode: 10 Angle: 49.90 Fault: 0
Torque: -0.18Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: -1.08 dps
--------------------------------------------------------------
Joint ID: 8 Temp: 33C Voltage: 18.5V Mode: 10 Angle: -82.33 Fault: 0
Torque: 2.23Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 0.27 dps
--------------------------------------------------------------
Joint ID: 9 Temp: 35C Voltage: 18.5V Mode: 10 Angle: 2.77 Fault: 0
Torque: 0.96Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 1.71 dps
--------------------------------------------------------------
Joint ID: 10 Temp: 32C Voltage: 17V Mode: 10 Angle: 47.92 Fault: 0
Torque: -0.61Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 1.08 dps
--------------------------------------------------------------
Joint ID: 11 Temp: 32C Voltage: 18.5V Mode: 10 Angle: -77.22 Fault: 0
Torque: 1.41Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 0.00 dps
--------------------------------------------------------------
Joint ID: 12 Temp: 36C Voltage: 17.5V Mode: 10 Angle: -0.43 Fault: 0
Torque: -0.94Nm KP: 0.00Nm KI: 0.00Nm KD: 0.00Nm Velocity: 5.76 dps
--------------------------------------------------------------
Done (00:00:00.1418945)
The Script Monitoring Control allows you to display the output of a script in a text box, while the Gauge Control displays a value using a needle and a range of values. The Graph Control displays a dynamic line graph of the data in real-time.
To use these controls, you can parse your JSON file data into variables and use the Set Control Value Function described in this article to update the controls with the data.
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
@athena I see there is a http server skill and a browser in ARC . Would it be possible to build a graphical display for the data in ARC using these?
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.