Automatic Module Detection and Configuration on Revolution Pi
Posted: 07 Oct 2024, 19:51
Hi Revolution Pi community,
I'm working on a project where I want to leverage the Revolution Pi system’s expandability and industrial I/O modules. My goal is to create a product with a unified interface that users can interact with entirely through my application, avoiding the need for them to manually use PiCtory to arrange and configure I/O modules.
I noticed that Revolution Pi is capable of detecting which modules are connected and where, as described in the PiBridge article. However, it seems that this detection process is only used to compare against the configuration file, and if there is a mismatch, the system goes into an error state. What I’m wondering is, why can't this automatic detection be leveraged to configure the modules? It seems like an opportunity to make the system more user-friendly and avoid some of the manual configuration in PiCtory.
My end goal is to generate the configuration file automatically through my application, allowing users to simply connect modules without having to open PiCtory or manually arrange anything. This way, I can present a seamless experience to the user within my application. Is there any documentation or guidance available on how I can generate the necessary configuration file programmatically? I’d like to avoid reverse-engineering PiCtory and the config files, so any help in this direction would be greatly appreciated.
Thanks in advance
I'm working on a project where I want to leverage the Revolution Pi system’s expandability and industrial I/O modules. My goal is to create a product with a unified interface that users can interact with entirely through my application, avoiding the need for them to manually use PiCtory to arrange and configure I/O modules.
I noticed that Revolution Pi is capable of detecting which modules are connected and where, as described in the PiBridge article. However, it seems that this detection process is only used to compare against the configuration file, and if there is a mismatch, the system goes into an error state. What I’m wondering is, why can't this automatic detection be leveraged to configure the modules? It seems like an opportunity to make the system more user-friendly and avoid some of the manual configuration in PiCtory.
My end goal is to generate the configuration file automatically through my application, allowing users to simply connect modules without having to open PiCtory or manually arrange anything. This way, I can present a seamless experience to the user within my application. Is there any documentation or guidance available on how I can generate the necessary configuration file programmatically? I’d like to avoid reverse-engineering PiCtory and the config files, so any help in this direction would be greatly appreciated.
Thanks in advance