Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

location not defined well enough or no communication to equiptment (HP8566B)

When running a data aquisition program in Labveiw, I am receiving this error.  I installed a NI PCI GPIB card along with downloading the driver for this piece of equiptment. HP8566B initialize program seems to run with no errors. 
 
0 Kudos
Message 1 of 9
(5,311 Views)
Hi Benny,

Do you see the device in Measurement and Automation Explorer(MAX) when you scan for instruments? Are you able to do any communication to the device via MAX (via right clicking on the instrument)?

If you are able to see the instrument and communicate with it in MAX, you should have no problems in LabVIEW. Let us know and we'll go from there.

Thanks!
Matt S.

LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 2 of 9
(5,298 Views)
In MAX, I am receiving the message "Device Did not respond to a *IDN? query." 
0 Kudos
Message 3 of 9
(5,282 Views)
That's expected since the old instrument doesn't support the *IDN? command. If the HP8566 Initialize function works, what function is generating the error? What is the error number that you get. I can't find a reference to the message you are getting.
0 Kudos
Message 4 of 9
(5,278 Views)
In the HP8566 collectdata program I am getting the following on error out.
 
Code -1073807339
 
Source- VISA read in HP8566collectdata.vi
 
Possible Reasons: VISA (Hex 0xBFFF015) Timeout expired before operation completed.
 
 
 
0 Kudos
Message 5 of 9
(5,244 Views)
Hello,

It could be that the instrument needs some more time to send its response. You could try increasing the timeout to see if it helps. You could also try decreasing the number of bytes to read in the VISA Read VI to see if you read anything.
Another thing I would suggest is to try running the Application Example that installs with the driver to see if that works. If it does, then you can use that as a starting point for writing your own VI. Good luck!

Regards,

Ebele O.
National Instruments
0 Kudos
Message 6 of 9
(5,226 Views)

I got the same problem

the driver is made with VISA for the serial port and you are in GPIB

so you have to change all VIsa send and receive to GPIB write and read in the sub-VIs

I did it but there is a problem with collect datas

I do not know how to do

0 Kudos
Message 7 of 9
(4,465 Views)
The last thing you should do is replace tge VISA functions wth GPIB. A VISA driver can be used for both.
0 Kudos
Message 8 of 9
(4,436 Views)

I'm using a HP8563EC and it also didn't respond to the IDN query in MAX but it still initialize and works fine in my VIs. I'm not sure what you want to do in your collectdata vi but to be able to do a screen capture I used NI-Spy when using benchlink and observed that the data is transfered by packets of 500 bytes. I'm using the HP8563 driver that uses VISA but to do the screen capture I'm using the GPIB functions as shown in the picture. Status bit 13 is set to 1 when the transfer is completed. Also note that the timeout is set to 6 seconds. Hope this can help you.

 

Ben64

 

screen capture.PNG

0 Kudos
Message 9 of 9
(4,403 Views)