• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
netFIELD Compact Gateway Serial RS485 connection for application
#7
I tried it myself with Node-RED. Instead of installing Modbus node I just was installing the standard node-red serial port node first to make some basic tests.

I configured the /dev/ttymxc0 also manually and after I deployed the Node-RED flow my Node-RED container was immediately crashing.

After the crash I went back to my main Linux where I have started the container from and used the "docker logs <container ID>" command with the container ID of the crashed container.

It said "segmentation fault". So the serial port node causes to crash the Node-RED.

Since Node-RED is not Hilscher software, I cannot say why it crashes.

I searched on the internet for such kind of problem and I found others having such an issue too in the past under different conditions

https://github.com/serialport/node-seria...ssues/2438
https://discourse.nodered.org/t/segment-...nwrt/63842
https://stackoverflow.com/questions/5412...tion-fault

So it seems you are not alone with this problem. It seems Node-RED and the implementation of serial port function is buggy.

In the end to be honest I can't tell you why the serial port function crashes. We have proved that unter normal Linux conditions using "echo 'hello' > ..." works, so the phyiscal hardware is properly working. It is the used software that does not work.

I don't know how to help you now with 3rd party software now.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
RE: netFIELD Compact Gateway Serial RS485 connection for application - by Armin@netPI - February-21st-2023, 12:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NIOT-E-NPIX-RS485 (Rev2 module) DSongra 6 4,121 February-3rd-2022, 07:50 AM
Last Post: DSongra
  Is netPI RTE 3 and netFIELD Connect hardware 100% identical Armin@netPI 0 2,041 December-23rd-2020, 09:27 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 5 Guest(s)