Skip to content

Create a session

The Default session gets you started. For real work, create your own: one per machine, test rig or experiment.

  1. Create the session.

    On the Sessions page, add a session (1) and name it (2). The name appears on every recording, so name it after what you are measuring, not the date.

    Create session view
  2. Add a com interface.

    Give it an instance name and choose a plugin type (UDP, Serial, Siemens S7, MQTT or Simulated), then press Add Com Interface.

    The instance name identifies this connection in the dashboard’s signal list and in the columns of recordings. A session can hold several interfaces, including several of the same type, so name each after what it is attached to.

  3. Fill in the connection details.

    An address and port for UDP, a port and baud rate for Serial, an IP with rack and slot for S7. Every field, with defaults and limits, is on the plugin’s page under Com Interfaces.

  4. Give it signals.

    This depends on the plugin:

    • UDP, Siemens S7, CAN, Simulated: press Load signals and pick a JSON schema file saying what to expect and where it sits in the data. The format is the same for every plugin; see the signal file reference.
    • MQTT and Bluetooth LE: the plugin browses the source and you choose from what it finds.
    • Serial: just connect. The device’s header row becomes the signal list. Load a file afterwards to add units and ranges.

    You can then edit a signal’s name, unit, type and range in the app. Addressing, such as byte offsets, data block numbers and bit positions, is read-only. To change it, edit the file and load it again.

    Every signal needs a dataType with its real width, such as float32, int16 or bool. A signal without one is skipped, so if the list comes up short, check that first.

  5. Make the session active.

    Only the active session can connect, and only one is active at a time. If this is your only session, it is already active; otherwise press Set as Active.

  6. Connect.

    Press Connect. Connected with values updating means you are done.

    Waiting for data… means the port is open, or the PLC answered, but nothing has arrived. Check the address, port, firewall or baud rate. Connected with wrong values is a schema problem. Open View Raw Console to see what is coming in, and the event log for what VizuaLog made of it.

With an interface connected, you can: