• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Data logger
#6
Sure it is possible.

Here is how I would do it:

1. I would use the netX-programming example container from here https://registry.hub.docker.com/r/hilsch...-examples/
2. I would run the PROFINET example directly to check if it is running
3. I would change the default input/output data size of the PN example from 4 bytes inputs and 10 bytes output to 256bytes input and output to have more data
4. I would modfiy the the example to send the data instead of printing it on the screen to the local Docker internal IP network in InfluxDB (database) API based TCP/IP format and to a second container hosting the InfluxDB database.
5. I would start a second container InfluxDB (time series database) with the SSD USB drive mounted into this container and a mount point. The influxDB is configured to write its database data to this mount point and hence the SSD drive finally
6. Since InfluxDB container has a web server, you can watch the data also in historical order or you can call it from anywhere in the world if your netPI has internet contact.

The best thing is, if you do not want to let run the InfluxDB database on the netPI you could host it on a Windows Machine for example. In your example you have just to change the destination IP where the TCP/IP telegrams are sent to.


Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Data logger - by Jan - September-4th-2020, 01:06 PM
RE: Data logger - by Armin@netPI - September-4th-2020, 02:35 PM
RE: Data logger - by Jan - September-10th-2020, 09:45 AM
RE: Data logger - by Armin@netPI - September-10th-2020, 11:00 AM
RE: Data logger - by Jan - September-10th-2020, 01:33 PM
RE: Data logger - by Armin@netPI - September-10th-2020, 01:53 PM
RE: Data logger - by Jan - September-11th-2020, 02:14 PM
RE: Data logger - by Jan - October-12th-2020, 03:03 PM
RE: Data logger - by Armin@netPI - October-12th-2020, 06:42 PM
RE: Data logger - by Jan - October-13th-2020, 01:37 PM
RE: Data logger - by Armin@netPI - October-13th-2020, 05:24 PM
RE: Data logger - by Jan - October-14th-2020, 03:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  REST API server data communication MGharat 2 2,564 July-21st-2021, 07:01 AM
Last Post: MGharat
  Docker exposed port don't send data on eth0 COswald 3 3,273 July-15th-2021, 02:10 PM
Last Post: Armin@netPI
  requirement : reading of ethrnet/ip data & storing MGharat 6 4,147 February-1st-2021, 08:07 AM
Last Post: Armin@netPI
  5 x NL 50-Mpi and Node Red like colector data? Jotarod 4 4,089 September-14th-2020, 01:59 PM
Last Post: Armin@netPI
  Receive at startup additional data through the Fieldbus Port Schranz 1 2,918 September-10th-2020, 10:55 AM
Last Post: Armin@netPI
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 5,924 March-16th-2020, 10:21 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)