• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NIOT-E-NPIX-RS485
#3
(January-20th-2023, 04:14 PM)Armin@netPI Wrote: 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

Hi Armin,

but the device has preinstalled node-red software. I trying to use the module with this preinstalled node-red. Where I can extend this start parameters? 
  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 7,659 November-15th-2021, 02:37 PM
Last Post: patribenq
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 6,471 November-25th-2020, 01:06 PM
Last Post: zen89
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,581 November-16th-2020, 01:35 PM
Last Post: alhammi
  using node.js on NIOT-E-TP151-EN-RE COswald 9 10,103 May-20th-2020, 12:54 PM
Last Post: Armin@netPI
  NIOT-E-NPI3-EN Envisia-BR 8 5,730 December-5th-2019, 02:57 PM
Last Post: Armin@netPI
Question Driver for RS485 (netPI) ArteLukas 5 7,387 June-25th-2019, 07:10 AM
Last Post: Armin@netPI
  niot-e-npi3-51-en (RS485 <-> Industrial Ethernet) merklethomas 6 4,724 April-26th-2019, 01:38 PM
Last Post: Armin@netPI
  [SOLVED] NPIX-DIDO MGharat 2 5,899 March-13th-2019, 06:06 AM
Last Post: MGharat
  "node-red with NIOT-E-NPIX-EVA GPIO module" Docker image Eyad.Almolki 1 2,200 July-30th-2018, 06:22 PM
Last Post: Armin@netPI
  3 Network Ports possible on NIOT-E-NPI3-51-EN-RE? yulian 7 8,292 April-3rd-2018, 02:57 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)