Ah ok, so if I would have only two fastinos connected to arbitrary EEM ports in my rack:
"peripherals": [
{
"type": "fastino",
"ports": [5]
},
{
"type": "fastino",
"ports": [3]
},
]
and the device_db being:
device_db.update({
"fastino0": {
"type": "local",
"module": "artiq.coredevice.fastino",
"class": "Fastino",
"arguments": {"channel": 0}
},
"fastino1": {
"type": "local",
"module": "artiq.coredevice.fastino",
"class": "Fastino",
"arguments": {"channel": 1}
}
})
I would always have "fastino0" being the first fastino in the json (here: EEM port 5) and "fastino1" (here: EEM port 3)?
Why do I then need to assign channels if they are just an increasing number?
Thanks