Hi @Luna2020
I see that your position property is the same as Nvarguscamerasrc can not open camera with some errors - #3 by ShaneCCC
Did you confirm that when you capture from sensor-id=2, it is camera 10 that is opening?
Did you take a look at the link that I shared with you related to fixing the sensor ID for nvarguscamerasrc? I think that if you give it a try, you could capture from camera 2 when you specify the sensor-id=2 property.
Regards!