Author Topic: Live Updating  (Read 8541 times)

Offline Keithang

  • PLUS+1 Developer
  • ***
  • Posts: 20
  • Karma: +0/-0
Live Updating
« on: May 21, 2019, 08:17:05 AM »
Good Day,

I was wondering if it is possible to automatic Input Values into Controller\Display using a CSV File.

Scenario:
I have a Server that is constantly changing values - these values need to be updated on Controller\Display regularly.
Eg. Hole 1 Depth ; Hole 2 Depth ; Hole 3 Depth

Whilst Drilling - the Controller must receive an update from server to say what depth it needs to be at for the required hole.

Is there a way to automate this?


Offline oiltronic

  • PLUS+1 Guru
  • *****
  • Posts: 170
  • Karma: +15/-0
Re: Live Updating
« Reply #1 on: June 06, 2019, 04:34:40 PM »
If I understand correctly, you want a running display to scan a file to receive updated control parameters, correct?

If so, then no, there are no built-in functions to read data from a file while running.  If I had to do this, I would use an Ethernet-to-CAN bridge/adapter and craft a little script sitting on the server or a nearby PC to pull the server and push out a period CAN message.  Then you can use the built-in CAN functions on the display to extract and sanity-check the incoming data.