Fetch scale data via Lantronix, display it in a video feed, and create a bookmark in any VMS (Milestone XProtect, AXIS Camera Station, etc.).
We have prepared an integration demonstrating how data can be collected from a Lantronix industrial external device server and displayed as a graphics overlay, directly in the captured footage of the camera, using only CamStreamer in-camera applications.
At the same time, data can be sent to Axis Camera Station.
Any device with RS232/RS422/RS485 serial port can be connected to the Lantronix UDS2100 or USR-TCP232-302 converter. From that point on it is accessible via the local LAN. In our case, we connected a digital scale G&G E6000YA in this way.
The other part is the AXIS M1135 network camera, where we installed 2 in-camera apps – the first is the CamScripter App, which is an application directly in the camera that allows you to run custom applications.
We also prepared a micro-app for CamScripter App in Node.js that can read the current measured weight from the scale (connected to selected converter) directly from the camera, in real-time.
This data is then sent by the micro-app to 2 destinations, the first being the CamOverlay App and the second, the Axis Camera Station VMS, where bookmarks are created, enabling easy filter and search criteria in the recordings.
This is a very simple solution to display external data directly in the video – this is practical for many reasons – visual control at the monitoring center, data is sent directly as part of the video image, everything is processed directly in the camera, so no server or other equipment is needed.
This demonstrates that you can display virtually any data directly in the video and even work with it – the script that handles everything is very simple and we can customize it for you.
This solution for Lantronix UDS2100 or USR-TCP232-302 converter, digital scale G&G E6000YA and Axis Camera Station is a ready-made micro application and is available at CamStreamer GitHub for your use.
Hardware
Software
CamOverlay App
CamScripter App
Lantronix Scale reader micro-app
The AXIS M1135 network camera can be any compatible AXIS camera with an ARTPEC-5/6/7/8 processor.
The digital scale G&G E6000YA features 7 weighing units (vg, ct, ozt, oz, GN, dwt, lb), a counting function (reference num: 1/10/20/50/100), full range tare, automatic calibration, AC or battery power supply, an RS232 interface, an LCD display with white backlight, and dimensions of 290×200×82 mm.
Lantronix is a global provider of intelligent hardware and other hardware and services. The external device server UDS2100 enables users to connect, manage and control just about any piece of equipment with a serial port from virtually anywhere over Ethernet or the Internet. Thanks to CamStreamer apps, in-camera ACAP apps for AXIS network cameras, you can fetch data from any device connected to this device server, as described in this case study.
The 1-port RS232 to Ethernet converter USR-TCP232-302 can transmit data transparently between TCP/IP and RS232. RS232 to IP converters USR-TCP232-302 are widespread required in industrial automation. Thanks to CamStreamer apps, in-camera ACAP apps for AXIS network cameras, you can fetch data from any device connected to this device server, as described in this case study.
The Lantronix Scale reader micro-app for CamScripter App is a micro-app which can fetch data from Lantronix and send them to CamOverlay App and as generic events to Milestone VMS.