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.

Documentation

Please see the documentation on Mendix Docs.

Releases

Version: 3.8.0
Framework Version: 10.21.1
Release Notes:

Improvements

  • Improved Get/Create Device Action – The Get/Create Device action now returns an empty object instead of throwing an error when no matching device is found. This makes your device integrations more robust and prevents unexpected crashes.

 

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.

Mendix Workstation Release Notes

Version: 3.3.0
Framework Version: 10.21.1
Version: 3.2.0
Framework Version: 10.21.1
Version: 3.1.0
Framework Version: 10.21.1
Version: 3.0.0
Framework Version: 10.21.1