Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

interface 4284a using gpib

I have a problem linking our HP4284a LCR meter with Labview. I have corrected all the paths, except for this error:

it says it needs

C:\Program Files\National Instruments\LabView 7.0\instr.lib\hp428xa\hp428xau.llb\HP428XA Utility Default Instrument Setup

but is reading

C:\Program Files\National Instruments\LabView 7.0\instr.lib\hp428a\hp428xa\hp428xau.llb\HP428XA Utility Default Instrument Setup

The problem is that this last path mentioned is needed to avoid some other errors. I need to be able to override the original path (the second one) to allow this proper path to be followed. Any suggestions?

Thanks.
0 Kudos
Message 1 of 16
(5,279 Views)
All that you have to do is open HP428XA VI Tree and point it to the function in hp428xau.llb. Then close the VI and when prompted, select Save SubVIs. the next time you open something like the getting started VI, the path will okay. The VI isn't really expecting to find the subVI in the main llb. It's just that the path to the other llb is different from when NI created it and you just have to point to it.
0 Kudos
Message 2 of 16
(5,262 Views)
I opened the HP428XA VI Tree, but I have no idea how to "point" it to the function in hp428xau.llb. My knowledge of this is extremely limited. Thanks for your help.
0 Kudos
Message 3 of 16
(5,258 Views)
It should ask you to find the subVI. This is a windows file dialog. You just have to browse to the hp428xau.llb file, double-click it, select the VI, and click ok.
0 Kudos
Message 4 of 16
(5,249 Views)
Hi again, I think we solved the original problem (Thanks!), but now we are having difficulty with "HP428A Initialize2.vi". It says the property node has one more invalid properties or uninitialized properties.

Thanks.
0 Kudos
Message 5 of 16
(5,245 Views)
Where are you seeing this message? The only property node I see in HP428XA Initialize is a timeout and that looks okay. Is there some error code generated (and what is it) or are you not able to run the VI? Do you have the VISA resource name set to match what MAX (Measurement & Automation Explorer) found? Do you actually have NI-VISA installed? This can be checked in MAX.
0 Kudos
Message 6 of 16
(5,240 Views)
We have now made sure that we have NI-Visa and MAX, which reads the GPIB and identifies the 4284a.  I still get the following errors, which I have included screenshots of below.  I appreciate any further help.
0 Kudos
Message 7 of 16
(5,223 Views)
When and where did you download the driver from? Mine has the timeout value correctly wired to the 1000 constant and it doesn't have the "Old" VISA Open. Here's the two files I have or you can re-download the driver from NI.
Download All
0 Kudos
Message 8 of 16
(5,208 Views)
What VISA do you have open then? I just downloaded the latest version of ni-Visa yesterday, however the visa in that code had been the previously. How does that area of the bad block diagram look for you? Is there another way we can change it? We took the files you sent, but they didn't seem to do anything, as the same error message still popped up. Thanks for your time.
0 Kudos
Message 9 of 16
(5,203 Views)

You must have a very, very old version of NI-VISA on your pc. You should download the latest version of VISA (3.4 I think). It seems like LabVIEW is converting the driver to use an obsolete version of VISA and you'll have problems with that. Your VI should look like this picture.

Message Edited by Dennis Knutson on 06-07-2006 09:51 AM

Message 10 of 16
(5,199 Views)