Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Computer GPIB boards from a programmers point of view...

Hi,
How is the GPIB board 'handled' by the systems, e.g. can multiple
applications (C++) use the same GPIB board? 'ibdev' seems to specify primary
and secondary addresses in the call, what if two applications specify
different addresses?

How do you determine which GPIB boards that are installed in the computer by
using NI-488.2?

Thanks,
Goran Ekstrom
Combinova AB
0 Kudos
Message 1 of 4
(3,496 Views)
> 'ibdev' seems to specify primary
> and secondary addresses in the call, what if two applications specify
> different addresses?

Sorry for the misunderstanding of the 'ibdev' command, I done the homework.

Still, what is the best way to determine (using NI-488.2) what boards are
installed and what addresses they use?

Goran
0 Kudos
Message 2 of 4
(3,496 Views)
When you install NI-488.2 you should get a program call Measurement and Automation Explorer (MAX) installed also. This will indicate the GPIB boards you have installed in the Devices and Interfaces catagory. You may have to refresh MAX if you install new hardware. Another way to tell is to run the Getting Started wizard in Start>>Programs>>NI-488.2>>Getting Started. This will test each GPIB interface. If you have a device manager you may also look in there. As far as what address, the controller always defaults to address 0. To change this you must right-click on the GPIB board in MAX and change the primary address of the controller to what you want it to be. Hope that is helpful
0 Kudos
Message 3 of 4
(3,496 Views)
Hi,
I had a feeling I wasn't specific enough in my original question. Well, what
I meant was, how do you determine, in your C++ application, using NI-488.2
API call's what boards are installed and what properties they have?

Thanks,
Goran

"jwf" skrev i meddelandet
news:506500000005000000BA290000-986697009000@quiq.com...
> When you install NI-488.2 you should get a program call Measurement
> and Automation Explorer (MAX) installed also. This will indicate the
> GPIB boards you have installed in the Devices and Interfaces catagory.
> You may have to refresh MAX if you install new hardware. Another way
> to tell is to run the Getting Started wizard in
> Start>>Programs>>NI-488.2>>Getting Started. This will test each GPIB
> interface
. If you have a device manager you may also look in there.
> As far as what address, the controller always defaults to address 0.
> To change this you must right-click on the GPIB board in MAX and
> change the primary address of the controller to what you want it to
> be. Hope that is helpful
0 Kudos
Message 4 of 4
(3,496 Views)