Change of input names with Connect S and MIO not working
Posted: 20 Dec 2022, 10:26
Hi Community,
i have a problem with renaming inputs with the Connect S.
When i change the names of Inputs or the order of MIO Modules in PiCtory, its not reflected when i read in the inputs via Python (revpimodio2).
In Detail:
I changed from an old RevPi Core to a Connect S. Old and new setup with four MIO Modules. With the new setup the MIOs has to be on the left of the revpi , with the old on the right ( according to PiCtory). With that the order of the default naming of the MIO Modules changes.
OLD (also default naming )
[Revpi Core, MIO, MIO 3, MIO 4, MIO 5]
[Revpi Core, Analog_Input_1, Analog_Input_1_i03, Analog_Input_1_i04, Analog_Input_1_i05]
NEW (default)
[MIO 5, MIO 4, MIO 3, MIO 0, Revpi Connect S]
[Analog_Input_1_i05, Analog_Input_1_i04, Analog_Input_1_i03, Analog_Input_1, Revpi Connect S ]
NEW (what i want)
[MIO, MIO 3, MIO 4, MIO 5, Revpi Connect S ]
[Analog_Input_1, Analog_Input_1_i03, Analog_Input_1_i04, Analog_Input_1_i05, Revpi Connect S ]
When i change the input names or the order of the modules, save it as start up config and restart driver (all in PiCtory) the names still dont change.
as you can see in the output generated with revpimodio.
(position 31 is next to the Revpi on the left where i changed it to "Analog_Input_1_i05" )
Output:
Is this an error of configuring on my side? Or is this an error of PiCitory for the new ConnectS ? or of revpimodio for the new connect S?
What i will try now is to change the inputnames in my software to the new default ones to make it work again.
i have a problem with renaming inputs with the Connect S.
When i change the names of Inputs or the order of MIO Modules in PiCtory, its not reflected when i read in the inputs via Python (revpimodio2).
In Detail:
I changed from an old RevPi Core to a Connect S. Old and new setup with four MIO Modules. With the new setup the MIOs has to be on the left of the revpi , with the old on the right ( according to PiCtory). With that the order of the default naming of the MIO Modules changes.
OLD (also default naming )
[Revpi Core, MIO, MIO 3, MIO 4, MIO 5]
[Revpi Core, Analog_Input_1, Analog_Input_1_i03, Analog_Input_1_i04, Analog_Input_1_i05]
NEW (default)
[MIO 5, MIO 4, MIO 3, MIO 0, Revpi Connect S]
[Analog_Input_1_i05, Analog_Input_1_i04, Analog_Input_1_i03, Analog_Input_1, Revpi Connect S ]
NEW (what i want)
[MIO, MIO 3, MIO 4, MIO 5, Revpi Connect S ]
[Analog_Input_1, Analog_Input_1_i03, Analog_Input_1_i04, Analog_Input_1_i05, Revpi Connect S ]
When i change the input names or the order of the modules, save it as start up config and restart driver (all in PiCtory) the names still dont change.
as you can see in the output generated with revpimodio.
(position 31 is next to the Revpi on the left where i changed it to "Analog_Input_1_i05" )
Code: Select all
# inside the cycleloop
print (ct.device[31].name, " ", ct.device[31].position, " ")
print (*ct.device[31].get_inputs(), sep='\n')
Code: Select all
RevPi MIO 31
ReservedDI_1
ReservedDI_2
...
AnalogInput_1
AnalogInput_2
AnalogInput_3
AnalogInput_4
AnalogInput_5
Is this an error of configuring on my side? Or is this an error of PiCitory for the new ConnectS ? or of revpimodio for the new connect S?
What i will try now is to change the inputnames in my software to the new default ones to make it work again.