Js-visg-m-s Manual: ((exclusive))
For real-time updates (e.g., live sensor feeds).
Maximum 20mA to 100mA with built-in short-circuit protection DC 0 to 22mA or 4 to 20mA (Programmable) Current Output Precision 0.01mA (Software calibratable) Sampling Resistance Supported up to 500Ω Hardware Interface 4-digit LED display, 360° click-encoder knob Primary Power Supply Options
const stream = scene.getModule('DataStreamModule'); stream.connect('ws://localhost:8080/data'); stream.on('message', (data) => scene.updateNode(data.id, position: data.pos ); );
Many devices require the password + - - + (one clockwise pulse, two counter-clockwise, one clockwise) to unlock restricted parameters like F002 . Common Parameters: js-visg-m-s manual
Move to , click to enter its value screen, adjust the target output value to 4.00 (4mA), and click confirm.
Often features a 3.7V 1000mAh lithium battery for portable use.
Source(options)
new DataConnector.JSON("https://api.example.com/data", method: "GET", refreshInterval: 30000 // ms )
Use this setup when connecting to passive equipment, such as an unpowered panel indicator or a PLC module that does not source power on its input channel.
// Step 2: Initialize the scene (WebGL context) const visgScene = new SceneManager(canvas, backgroundColor: 0x111122, antialias: true, fpsDisplay: true // Show performance overlay ); For real-time updates (e
To open locked system settings ( F002 through F007 ), advance the display to a blank indicator and input the specific key sequence password: (Clockwise, Counter-Clockwise, Counter-Clockwise, Clockwise) followed by a knob press.
import Chart, Map, Stats from 'js-visg-m-s';
createComponent(container, opts)
onUnmounted(() => manager?.destroy()); </script>