Write data over USB port

Reading through the Github, you have a few options.

  • Write a module to add the usb4java and wrapping code so you can use this directly.
  • Write a python flask webserver on the client and use REST commands to make it run.
  • Send the beacons back, get normally wired ones and use a modbusTCP IO unit to drive them with the Ignition Modbus driver.
  • Utilise system.util.execute | Ignition User Manual and call one of the command line versions of the PATlite code from Github.

Personally I think the easiest is the latter. The modbusTCP option is infinitely more supportable and reliable though.

3 Likes