Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error connecting to GPIB driver or device

I am working with a GPIB card of Adlink (3488A) to communicate with an Oscilloscope. First I used windows XP-32 bit with LabVIEW 8.5. There was no problem. Second I tried to do the same thing on Windows 7-64 bit. The Driver is recognized in windows, I can communicate with devices through the prepared software of Adlink and I can send and receive data from NI VISA Interactive Control, but inside of LabVIEW I cannot do any thing!!!

all the time I have this error:

 

LabVIEW: Error connecting to GPIB driver or devices.

--------------------------------------------

NI-488: Error connecting to driver or devices.

--------------------------------------------

VISA: (Hex 0x0) Operation completed successfully.

 

I am wondering to know if there is a problem with Adlink card or there is a problem with LabVIEW.

0 Kudos
Message 1 of 22
(6,189 Views)

The Adlink isn't a NI device, why would you think that NI-VISA driver would work for it????

0 Kudos
Message 2 of 22
(6,186 Views)

Thanks for your answer.

 

So, why I could comunicate with this card and device with windows xp? There was no problem in that windows.

 

And one thing more, Adlink announces that this card is fully compatible with industrial VISA (http://www.adlinktech.com/PD/web/PD_detail.php?cKind=&pid=875&seq=&id=&sid=) and the same things happens in using NI VISA, there is no problem with NI-VISA, it recognizes and communicate with card, but 488.2 does not!

0 Kudos
Message 3 of 22
(6,184 Views)
I cant look at your VI right now. You're not trying to use GPIB functions are you? That would not be correct for a non-NI board.

Do you have Tulip support enabled in MAX?
Message 4 of 22
(6,182 Views)

Yes I have enabled Tulip Support in MAX and I am using GPIB Write and GPIB Read Function. But these functions work properly on other computer.

0 Kudos
Message 5 of 22
(6,179 Views)
Sorry, but that makes no sense. The LabVIEW GPIB functions are only for real NI hardware. If you managed to get them to work on another pc, I can't explain why. Take that up with adlink. You should be using VISa, even with NI hardware. There is not many reasons to use the low level GPIB functions.
0 Kudos
Message 6 of 22
(6,176 Views)
Really appreciated for your answer.
But can you explain why I can perform the querry *idn? In visa interactive control without any error, but in MAX my device is not recognized?
0 Kudos
Message 7 of 22
(6,152 Views)
MAX uses low level GPIB functions, not VISA. MAX is a utility for NI devices so you should not expect it to work for other vendor's products.
Message 8 of 22
(6,145 Views)

Thanks for your patiece Dennis,

 

I got the point you've provided. But my problem is still as the same. I understood that I should not look for my device attributes in MAX, but why I can not see my device session in the list of "Session in" in VISA Open command in LabVIEW. I restarted the system many time, Uninstalled and Installed the NI 488.2 many times, either I did the same thing as indicated in this post:

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/GPIB-showing-in-device-manager-but-not-in-MAX...

 

But non of them took action.

 

Again thanks for your time.

0 Kudos
Message 9 of 22
(6,130 Views)
I'm a bit confused. When I asked you, you said you were using GPIB Write/Read. Now you are saying you are using VISA in your VI? I'm also unsure what NI-488,.2 has to do with an adlink board.
0 Kudos
Message 10 of 22
(6,123 Views)