@@ -103,11 +103,21 @@ export default function DashboardDut() {
103
103
< ColumnLayout columns = { 2 } variant = "text-grid" >
104
104
< Box >
105
105
< Box variant = "awsui-key-label" > DUT voltage (V)</ Box >
106
- < MqttChart topic = "/v1/dut/feedback/voltage" />
106
+ < MqttChart
107
+ title = "DUT Voltage"
108
+ topic = "/v1/dut/feedback/voltage"
109
+ maxSnapPoints = { [ 6 , 13 , 25 , 50 ] }
110
+ minSnapPoints = { [ - 1 ] }
111
+ />
107
112
</ Box >
108
113
< Box >
109
114
< Box variant = "awsui-key-label" > DUT current (A)</ Box >
110
- < MqttChart topic = "/v1/dut/feedback/current" />
115
+ < MqttChart
116
+ title = "DUT Current"
117
+ topic = "/v1/dut/feedback/current"
118
+ maxSnapPoints = { [ 0.5 , 1 , 2 , 3 , 4 , 5 ] }
119
+ minSnapPoints = { [ - 0.1 , - 1 ] }
120
+ />
111
121
</ Box >
112
122
</ ColumnLayout >
113
123
< ColumnLayout columns = { 4 } variant = "text-grid" >
@@ -239,7 +249,12 @@ export default function DashboardDut() {
239
249
additionalInfo = "The absolute voltage is independent of pin orientation"
240
250
/>
241
251
< UnloadingSection header = { `OUT_${ port } voltage plot (V)` } >
242
- < MqttChart topic = { `/v1/output/out_${ port } /feedback/voltage` } />
252
+ < MqttChart
253
+ title = { `OUT_${ port } Voltage` }
254
+ topic = { `/v1/output/out_${ port } /feedback/voltage` }
255
+ maxSnapPoints = { [ 4 , 6 ] }
256
+ minSnapPoints = { [ - 4 , - 6 ] }
257
+ />
243
258
</ UnloadingSection >
244
259
</ SpaceBetween >
245
260
</ ColumnLayout >
@@ -304,7 +319,12 @@ export default function DashboardDut() {
304
319
additionalInfo = "Too many devices may overload the bus"
305
320
/>
306
321
< UnloadingSection header = "IOBus current plot" >
307
- < MqttChart topic = "/v1/iobus/feedback/current" />
322
+ < MqttChart
323
+ title = "IOBus current"
324
+ topic = "/v1/iobus/feedback/current"
325
+ maxSnapPoints = { [ 0.25 ] }
326
+ minSnapPoints = { [ 0 ] }
327
+ />
308
328
</ UnloadingSection >
309
329
< MqttBarMeter
310
330
topic = "/v1/iobus/feedback/voltage"
@@ -318,7 +338,12 @@ export default function DashboardDut() {
318
338
additionalInfo = "The voltage will go down if the bus is overloaded"
319
339
/>
320
340
< UnloadingSection header = "IOBus voltage plot" >
321
- < MqttChart topic = "/v1/iobus/feedback/voltage" />
341
+ < MqttChart
342
+ title = "IOBus current"
343
+ topic = "/v1/iobus/feedback/voltage"
344
+ maxSnapPoints = { [ 13 ] }
345
+ minSnapPoints = { [ 0 ] }
346
+ />
322
347
</ UnloadingSection >
323
348
</ SpaceBetween >
324
349
</ ColumnLayout >
@@ -380,7 +405,10 @@ export default function DashboardDut() {
380
405
/>
381
406
< UnloadingSection header = { `USB Port ${ port } current plot` } >
382
407
< MqttChart
408
+ title = { `Port ${ port } current` }
383
409
topic = { `/v1/usb/host/port${ port } /feedback/current` }
410
+ maxSnapPoints = { [ 0.5 ] }
411
+ minSnapPoints = { [ 0 ] }
384
412
/>
385
413
</ UnloadingSection >
386
414
</ SpaceBetween >
0 commit comments