Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to communicate GPIB device using component work activeX control in VB

i am Unable to communicate GPIB (tektronics TDS 220 scope)device using component work activeX control in VB.Sample program (basic gpib.vbp) is giving run time error during write operation as follows:
run time error 30332
writing data
no listeners on the GPIB are addressed.


Others sample program for serial port (basicserial.vbp)is working fine.

sample program scopesimple,scopecleartrigger are working fine.
i have checked communication between PC and Tektronics scope through GPIB card using MAX it is working proprerly.
0 Kudos
Message 1 of 3
(3,113 Views)
Hello,

Have you set your Board, PAD, and SAD properly in the application? Did you press "Configure Device" before pressing the "Write" then "Read" buttons?

This error can happen mainly if you have the wrong primary address in the PAD field up near the top, so confirm that this is the same as your MAX configuration shows. You need to set the board, PAD, and SAD, then press "Configure Device". Set your send string properly, then press "Write". Finally, press "Read".

Let me know if this doesn't work for you.

Scott B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,113 Views)
Hello Sir

The only problem was that the PAD number was not properly assigned.

now the program is working fine

thanx

Ramchandra Chavan
Scientific Officer(SB)
BARC
0 Kudos
Message 3 of 3
(3,113 Views)