Hi Diego,
I have 2 Line Simulators on addresses 14 and 15, and the switches on addresses 8 and 9. I have a separate module that manages the switches and one that manages the Line Simulators. I put some debug prints in the perl ni.pm module and what happens is that I pass
0 14 11 0 1 0 to the ibdev function where 0 is the gpib index and 14 is the address. When I print out the address when the module is finished, the address is 8, not 14. Hence my code craters as it expects to be talking to a Line Simulator, not a switch.