LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How I use VI file for HP8920A with LABView 6i?

I use LABView 6i and GPIB card HP82350 PCI to communicate with HP54603A(Oscilloscope),HP9852L(Spectrum Analyzer)and HP8920A(RF Communications Test Set)
I D/L VI file form NI to use.In 56403A and 8952L complete,but in 8920A it's don't work.
How can I do ?
Thank you very much.
Somsak P.
0 Kudos
Message 1 of 7
(3,632 Views)
Sorry to answer with a series of questions, but hopefully these will shed a light on the solution:

1. Do each instrument have a seperate GPIB address?

2. Did you use MAX (measurement & Automation EXplorer)? Were you able to see each instrument? The instruments should be listed under "Devices & Interfaces" and under a GPIB card (ex: GPIB0).

3. If you see the instruments, then try communicating with them, one at a time. Click on Instrument1, then click on Communicate with Instrument. Click "Query". You should get the instrument model and a small description.

Let me know the above details.

JLV
Message 2 of 7
(3,631 Views)
Hello JoeLabView.
Thanks very much for you help.

I want to tell you for more detail.
- between GPIB card and LABView,MAX Communicate it's OK.
- In the same set can use with HP54603B
andHP8592L.(I use VI file NI)
- In HP8952A I download VI file form NI,but it's not work

Thank you very much.
Somsak P.
PS If you have a example VI file for use with HP8920A plaese send to me.
0 Kudos
Message 3 of 7
(3,631 Views)
You need to provide details on what exactly is not working. Do you get an error code? Does the instrument not respond?

In order to help, more information is needed than it just doesn't work.
0 Kudos
Message 4 of 7
(3,631 Views)
Hello Dennis Knutson.
When I run Instrument Quick Check.vi
It's show
"Error code 1223 occurred at HP8920 Init.
Possible reasons:
LabVIEW:Instrument identification query faild."
Somsak P.
0 Kudos
Message 5 of 7
(3,631 Views)
What the HP8920A Initialize does is issue the *IDN? command and verify that the returned string contains "8920A". If it does not, then error code 1223 is returned. You can troubleshoot this by running the init VI by itself and putting a probe oon the string returned to what is actually being sent. First verify that the address matches what has been detected in MAX. Place a probe on the read buffer output of the Receive Message subVI in the first case. It's labeled "Query ID and device type registers". If the string does not contain "8920A", then what does it return? If there is nothing returned, try issuing the *IDN? command from within MAX. If you don't get any response back from within MAX, there's the possibility that the instrument is defective
.
0 Kudos
Message 6 of 7
(3,631 Views)
I just noticed something. You are using an HP GPIB board? If that's the case, you cannot use the LabVIEW GPIB functions to talk to an instrument. It would appear that the other drivers use VISA and that's why they work. You will have to modify the 8920A driver to use VISA Read and VISA Write instead of GPIB Read and GPIB Write.
0 Kudos
Message 7 of 7
(3,631 Views)