• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Data logger
#2
Hi there.

my first question is about the data loggin function. Where do you want to write the logged data to? Onto netPI's SD card or onto the hard disk? Or are these data just stored in memory and then shifted over the ethernet port to a server for example?

Then a word to the hard disk. How much power is this hardware consuming? I have personally used USB sticks as hard drives so far which consume for sure less power than a hard drive. Will it be of type SSD or HDD? If this disk drives maps to a /dev/ttyusb alike device then you can use it on netPI as this thread describes https://forum.hilscher.com/thread-439.html. You have to map this drive when the Node-RED container is started and then you have to mount the drive to "look" into the drives folder structure.

I do not understand the question about Node-RED. The file you want to write to for data logging ... will it be a database like a time series data influxdb is providing or an SQL database or is it you very own privat format and a kind of simple text file? As far as I know default Node-RED does not support writing and reading from a file directly ... you need to modify the Node-RED settings file and include the fs (file system) library with a command like let fs = global.get('fs'). And then you can use the function node to program read/write file accesses. I have never done this before to be honest.

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,559 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,142 February-1st-2021, 08:07 AM
Last Post: Armin@netPI
  5 x NL 50-Mpi and Node Red like colector data? Jotarod 4 4,084 September-14th-2020, 01:59 PM
Last Post: Armin@netPI
  Receive at startup additional data through the Fieldbus Port Schranz 1 2,917 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,919 March-16th-2020, 10:21 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)