Workstation Connector
Content Type: Module
Categories: Connectors,Internet-of-Things,Communication
Overview
The Workstation Connector is a Mendix module to connect Mendix Web applications with client computer peripheral devices on client-side via Workstation Client.
The Workstation Connector is used in combination with the Workstation Management and the Workstation Client.
Use Workstation Connector (Mx 9) for Mendix Studio Pro versions 9.24.11-10.21.0.
Releases
Version: 3.6.0
Framework Version: 10.21.1
Release Notes:
New set of Nanoflow Actions and Widget to simplify creation of reusable peripheral modules
- Initialize peripheral object in one single action GetCreateDevice
- Manage peripheral object creation
- Setup callbacks On connect, On message, On disconnect
- Widgets to trigger application level logic on device events. Peripherals modules does not have to be changed to handle peripheral events
- On change: action to call when an attribute is changed
- On equal: action to call when an attribute equals a value
- On true: action to call when a condition is true
- On load/unload: action to call when widget is load / unload
- Nanoflow actions to manage events in nanoflow
- SubscribeToObjectChanges JSA: React to object changes in real-time.
- WaitForObjectChanges JSA: Wait for specific object changes before proceeding.
- Other new nanoflow actions
- Connect device
- SendDeviceMessage and WaitForDeviceMessage nanoflow actions are replacing SendMessage for easier configuration of the most used cases.
Improvement
- Model peripheral entity as specialization of device entity (no need for association)
- Calling GetStation is not required anymore to initiate station connector. It is only required for reading station configuration.
Deprecations
- SendMessage has been deprecated as its "wait for response" behavior was often misleading or unnecessary replaced by SendDeviceMessage and WaitForDeviceMessage.
- SubscribeToMessages and SubscribeToErrors has been deprecated and replaced by the one single action GetCreateDevice.
Fixes
- We removed the Station_User association. Object garbage collection is now handled internally leading to more robust object management.
- We fixed an issue related to the timing of initial connections.
- We fixed an issue when devices were sometimes discovered with a delay.