The attribute VI_ATTR_RSRC_NAME should give you the interface address and type.
Makoto wrote:
> All,
> Does anyone know how to obtain the GPIB controller address of the GPIB0,
> GPIB1, etc using a VISA function? I know the default address value is 0 in
> NI and 21 in Agilent, but this value can be changed by the user and the
> assumption should not be applied in app.
>
> makoto