I have several NI GPIB-ENET/100 devices in equipment racks each acting as 'Hubs' for one or more GPIB-controlled instruments.
Each of these Hubs is configured in NiMax under the usual naming scheme, 'GPIB0', 'GPIB1', 'GPIB2', etc.
From this I assume that their Board Index numbers are correspondingly 0, 1, 2 etc. But of course, the names can be changed.
The instruments are not named and identified in NiMax; they each just have a GPIB address pre-set in their config, or with DIP switches, or whatever they have.
Now in the this support article, it is suggested I use ibfind to connect to one of these hubs (a 'board') by name, but to connect to one of my instruments (a 'device') I should use ibdev.
http://digital.ni.com/public.nsf/allkb/20111CA8C1BB0E6D86256F2E0064FEE0
My problem is, I know the name of my hub/board so can use ibfind. But my instruments aren't named. I want to go via the named hub/board using the GPIB address configured on each instrument. To do that I have to call ibdev and pass the index number of the hub/board. And I don't really know for sure what that is - I can only guess from the way the names 'GPIB0', 'GPIB1' etc. were automatically assigned in that order.
Is there any way to identify the Board Index (BdIndx) for use in the ibdev call for a board that is only known by name, e.g. 'GPIB2'?