Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm using the cw gpib control with several


intruments. Is there a way to find the
number of listeners and their addresses using the controls, or
do i have to make calls using the gpib api library?
0 Kudos
Message 1 of 4
(3,346 Views)
You have to make calls to the GPIB API to do bus commands like FindLstn, etc. The ActiveX control is designed for communicating with GPIB devices, not managing the GPIB bus. There is an example that ships with the NI-488.2 driver for Visual Basic called Query4882 that can show you how to use FindLstn from the driver API.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 4
(3,346 Views)
Dear,

It isn't very difficult to implement this and it works really fine. But I'm upgrading my VB 6.0 application to Visual Basic.NET and then I only get working the ActiveX control. The entry via the bas files with the dll don't works.

Is there an avaialable solution?

Kind Regards

Johannes
0 Kudos
Message 3 of 4
(3,346 Views)
Dear All,

The question is already answered in the GPIB section: see link below
Gpib section

Kind Regards

Johannes
0 Kudos
Message 4 of 4
(3,346 Views)