Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.

Hello,

I am using an Agilent 6675A DC power supply and want to control this through LabVIEW. I have a GPIB to USB converter and have connected the supply to the computer through this cable. On opening up NI MAX, I see COM3 as the USB port which is connected. On running the VISA Test Panel with the *IDN?\n command and clicking query, I get the error ' (Hex 0xBFFF0015) Timeout expired before operation completed.' I have increased the timeout, however I still get the same error. I observe in the 'View Attributes' section, I have an 'Invalid Property Value' for the 'Is Port Connected' attribute. However, on reading few other posts, I understand this can be ignored if the GPIB to USB cable is a non-NI cable as is my case. Since the COM3 port shows up in NI-MAX, could the non-NI cable still be the reason for this error? If not, could someone help me troubleshoot this error? 

 

Thanks 

0 Kudos
Message 1 of 5
(4,726 Views)

Hello,

 

I currently have an Agilent Power Supply I want to control through LabVIEW. The power supply has a GPIB port and I have a GPIB to USB converter to hook this up to my computer's USB port. I have installed the instrument driver and NI VISA. Do I also need to download NI 488.2 to use the instrument through LabVIEW? I am currently getting a 'Timeout expired before operation completed error'. 

 

Thanks

 

0 Kudos
Message 2 of 5
(4,712 Views)

Hi

Do not spam the forum with the same question and a different header.

Please tell which gpib interface you have and why you don't ask the vendor?

greetings from the Netherlands
0 Kudos
Message 3 of 5
(4,714 Views)

Hello,

Could you elaborate on what you mean by 'which GPIB interface' I have? I have a standard Prologix GPIB to USB controller

Thanks

0 Kudos
Message 4 of 5
(4,709 Views)

Hi

Have a look at the following thread

https://forums.ni.com/t5/Example-Program-Drafts/Prologix-GPIB-USB-Controller/ta-p/3539152

 

This library should help you.

greetings from the Netherlands
Message 5 of 5
(4,703 Views)