Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ibdev error when initialise secondary GPIB address

I have ibdev error when I use secondary address(I need use it). I use MSVS6.0 and your example, it works with keithley, but not with my device. When I work with my device by LabVIEW and for addressing use "1+1"(for example) it works. But I am getting mistake when I try to initialise device in VStudio, without secondary address it does not understand my command.

Please help me.
0 Kudos
Message 1 of 4
(3,808 Views)
The NI-488.2 API adds 96 to the secondary address to create it properly (since a SAD of 0 is different than no secondary address). Try using

ibdev 0 1 97 12 1 0

to open a device a primary address 1 and secondary address 1.
0 Kudos
Message 2 of 4
(3,808 Views)
Thank you, I solved this problem. But this information is not written in your manuals, that come with your GPIB card.
0 Kudos
Message 3 of 4
(3,808 Views)
I will look into that. I know it is documented with ibsad, but it should be documented with ibdev as well.
0 Kudos
Message 4 of 4
(3,808 Views)