Asterics Websocket Demo

Objective

Visualization of signal data in a web live chart using Javascript.

Description

The demo model generates a signal of choice by using the SignalGenerator plugin and broadcasts the data through a websocket (ws://localhost:8082/ws/astericsData) to the web client. The data is visualized in a Javascript live chart.

You can select the type of signal, frequency and amplitude with html widgets. By clicking "Apply and Start Model" the model is deployed to the ARE and parametrized with the selected signal properties.

You can also send data to the model by pressing the "Send message" button.

Visualization of sine signal


Visualization of Signal

Requirements

  • AsTeRICS 3.0 installed and ARE running
  • OS: Windows, Linux (incl. RPi), Mac OSX

Major Plugins

Edit Model

Open in WebACS

Source Repository

You can fork and modify this repository.

Related Tutorials