From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

using VI instead of instrument driver for hp 4274a

Solved!
Go to solution

There are no drivers for the HP 4274A but NI redirects me to this page (http://www.nogi.ch/labview/) to download the VIs for the instrument. 
I downloaded them and had them converted so that I could open them with labview 2013. However, when I start the example VI or any of the other VIs they don't do anything. My 4274a is hooked up and is being read by the NI MAX and GPIB. The GPIB address being used by the VIs is "17" which is what is says on MAX. 
I am not sure what to do. I have the VIs in a different folder than my installed Labview stuff. 

Anyways, I am wondering if there is more to using these VIs rather than just opening and running them. 

0 Kudos
Message 1 of 6
(4,286 Views)
Solution
Accepted by topic author Erny123

You'll need to be a bit more specific about what the vi's don't do...

 

Yes, that llb is a mess! it does not really do much and what it does do it does wrong.  (interesting mis-use of the GPIB Wait vector to delay for TMO in thereSmiley Surprised)

 

I would start from scratch- use VISA and have the manual handy.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 6
(4,267 Views)

Thank you for the reply. THe problem I am having is that the although I press the "run" button on the VIs and everything is shown to be connected, nothing actually seems to happen with the instrument and there seems to be no collection/transfer of data. The  instrument's counter part (hp 4276a), works perfectly fine because it has its own drivers, so there's nothing wrong with the GPIB. 

So this means I might as well make my own driver? Or is there any possible way I can still use this as the foundation?

0 Kudos
Message 3 of 6
(4,244 Views)

I would NOT use that library as a starting point.

 

Find a similar device with a VISA Plug-n-play Project style driver (Your device seams to almost use SCPI commands) and modify from there


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 6
(4,238 Views)

Ok, do you know where I can find any tutorials or templates for VISA plug-n-play project styles? 
Ive been working on the HP 4276A which has drivers up on the NI site: http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=447
But I am not sure if they are plug-n-play or using any VISA interface. 

0 Kudos
Message 5 of 6
(4,236 Views)

Start here

http://www.ni.com/white-paper/4376/en/


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 6
(4,229 Views)