Replies: 1 comment
-
|
Hi, for this connection method I'd recommend using the frame parser. The basic idea: build your dashboard widgets as you normally would, then map your data to specific indexes based on the frame you receive. You can read more about the frame parser here: https://serial-studio.com/help#javascript-api. Below a flowchart to explain the idea: flowchart LR
subgraph Frames["Incoming Frames"]
A["Frame A<br/>indexes 0–5"]
B["Frame B<br/>indexes 6–10"]
C["Frame C<br/>indexes 11–15"]
end
P{{"Frame Parser"}}
subgraph Datasets["Mapped Datasets"]
D0["Dataset @ idx 0<br/>Temperature"]
D1["Dataset @ idx 3<br/>Pressure"]
D2["Dataset @ idx 6<br/>Humidity"]
D3["Dataset @ idx 9<br/>Voltage"]
D4["Dataset @ idx 11<br/>Current"]
D5["Dataset @ idx 14<br/>RPM"]
end
A --> P
B --> P
C --> P
P -- "idx 0" --> D0
P -- "idx 3" --> D1
P -- "idx 6" --> D2
P -- "idx 9" --> D3
P -- "idx 11" --> D4
P -- "idx 14" --> D5
If you're interested, you can also download the continuous release and try the AI Assistant feature. It's still in development, but I think it can be very useful for project configuration. Just select your preferred AI provider, add your API key, and let the LLM configure the project and frame parser based on your requirements to give you a starting point. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ,
I discovered SS some days ago and started to use it with a Zenoh (pub/sub protocol) bridge. I mapped some topics to a specific from for SS , as it needs to index data inside the frame. The drawback is that Zenoh topic are mostly asynchronous. A better method would be to create a specific frame when a specific Zenoh topic is received . Is it possible with SS ? From my understanding, with the concept of index in frames , it cannot match the pattern. 🤔
Beta Was this translation helpful? Give feedback.
All reactions