Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ibdiag

I am upgrading our system to run under windows XP and NI’s driver Version 2.2. When using NI's Version 1.7, the IBDiag function call will fill the buffer with information about the GPIB device being used. The base address can be found at position 27 and 26 in the buffer. When using Version 2.2 the IBDiag function call returns only NI's software version number. IBDiag is not supported in Version 2.2. The base I/O address is needed to setup the registers for a dual primary address mode. Does any one have an automated way to getting the base address using NI’s Version 2.2? Looking at the device manager and then having the user type in the base address is inaccessible.
0 Kudos
Message 1 of 2
(2,970 Views)
Hi TSnow,

The ibdiag() function is no longer supported in versions of NI-488.2 past 1.7. It was never formally documented and was meant only to be used internally. Unfortunately, there is no function in versions past 1.7 to perform a similar function.

If you are looking to use the same program you have used in the past, you may still be able to use the same version of the driver so that the ibdiag function will still be available to you.

John M
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,957 Views)