• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NIOT-E-NPIX-RS485
#2
First of all this module is auto detected by NIOT-E-TPI51-EN-RE OS when you plug this module into the slot. The OS then creates a logical device named /dev/ttys0 within host's OS context.

Then .... containers normally do not have access to those logical devices except you tell the container to specifically map a host device to the container context. Else there no access possible from apps running in the container.

So you need to extend the start parameters of your container to mapping the host /dev/ttys0 device into the container as /dev/ttys0. Once this is done, then the Node-RED application running in the container is able to access the logical device also.

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

  Reply


Messages In This Thread
NIOT-E-NPIX-RS485 - by LucioFiam - January-20th-2023, 03:42 PM
RE: NIOT-E-NPIX-RS485 - by Armin@netPI - January-20th-2023, 04:14 PM
RE: NIOT-E-NPIX-RS485 - by LucioFiam - January-20th-2023, 06:28 PM
RE: NIOT-E-NPIX-RS485 - by Armin@netPI - January-20th-2023, 07:13 PM
RE: NIOT-E-NPIX-RS485 - by Armin@netPI - January-21st-2023, 08:10 AM
RE: NIOT-E-NPIX-RS485 - by LucioFiam - January-21st-2023, 11:25 AM
RE: NIOT-E-NPIX-RS485 - by Armin@netPI - January-21st-2023, 05:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  USB to RS485 convetrer MGharat 5 8,028 November-15th-2021, 02:37 PM
Last Post: patribenq
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 6,814 November-25th-2020, 01:06 PM
Last Post: zen89
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,976 November-16th-2020, 01:35 PM
Last Post: alhammi
  using node.js on NIOT-E-TP151-EN-RE COswald 9 10,627 May-20th-2020, 12:54 PM
Last Post: Armin@netPI
  NIOT-E-NPI3-EN Envisia-BR 8 6,012 December-5th-2019, 02:57 PM
Last Post: Armin@netPI
Question Driver for RS485 (netPI) ArteLukas 5 7,817 June-25th-2019, 07:10 AM
Last Post: Armin@netPI
  niot-e-npi3-51-en (RS485 <-> Industrial Ethernet) merklethomas 6 4,957 April-26th-2019, 01:38 PM
Last Post: Armin@netPI
  [SOLVED] NPIX-DIDO MGharat 2 6,236 March-13th-2019, 06:06 AM
Last Post: MGharat
  "node-red with NIOT-E-NPIX-EVA GPIO module" Docker image Eyad.Almolki 1 2,291 July-30th-2018, 06:22 PM
Last Post: Armin@netPI
  3 Network Ports possible on NIOT-E-NPI3-51-EN-RE? yulian 7 8,739 April-3rd-2018, 02:57 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)