11.03.2016, 08:03
Each script is a separate OS process. File descriptors are private for each process and cannot be shared.
Can you explain your task? Are you trying to share access to the same RS-485 port between several scripts? You can use semaphores (http://openrb.com/docs/semaphore.htm) for locking or just create a profile and use modbus mapper which will take care of data exchange.
Can you explain your task? Are you trying to share access to the same RS-485 port between several scripts? You can use semaphores (http://openrb.com/docs/semaphore.htm) for locking or just create a profile and use modbus mapper which will take care of data exchange.