I am newbie of VISA, and now working with a GPIB.
Below works when I open session with secondary address
ViOpen (defaultRM, "GPIB0::18::5::INSTR", VI_NULL,VI_NULL, &vi);
But our instrument has different secondary addresses.
I try to below to change secondary address, but it does not work.