LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to build up labview program for hp 4277a LCZ meter based on that of hp 4267a one

I am trying to build up labview program for hp 4277a LCZ meter and met some problems. I am a Labview beginner and have a little background on C language. I attampted to control hp 4277a with hp4267a program and it worked for a while. After that, errors jumped out--" GPIB read message" and operation error. I restarted the computer and it worked again but didn't last for a long time. What is the main reason to cause these problems? I know the major difference between two  LCZ meters is the range of frequency. Could the problems be solved by change the program codes of freqency part? As I am a Labview newbie, could you give me a hint to make such a program?

 

Thanks in advance

Yuan

0 Kudos
Message 1 of 9
(4,428 Views)

Hi Yuan,

 

I'm unsure why this would stop working suddenly as it did.  The programs that you speak of are provided by HP and are made available on our website.  If you are interested in figuring out how to talk to a device which does not have a program posted there, I would suggest consulting your user manual to figure out which commands you need to send.

Stephen Meserve
National Instruments
0 Kudos
Message 2 of 9
(4,398 Views)

Thanks for your responding! Do you mean you have the existing program for hp 4277a LCZ meter? I just found that of hp 4267a. Could you give me a link? I appreciate your help.

 

Thanks

Yuan

0 Kudos
Message 3 of 9
(4,386 Views)

Hi Yuan,

 

We do not have a program for that device.  As I said, if you are interested in figuring out how to talk to a device which does not have a program posted on our website or HP's, I would suggest consulting your user manual to figure out which commands you need to send.

Stephen Meserve
National Instruments
0 Kudos
Message 4 of 9
(4,370 Views)
There's no such thing as a hp 4267A. at lest nothing with that number is found on the Agilent site. Do you maybe mean a 4276? If so, what exactly do you mean by 'it worked for a while'? Do you mean that every function worked and then when you ran the code for a second time, you got an error? You also need to provide details on what function generated the error, what the error code was, etc. Simply saying that you got an error is not enough information.
0 Kudos
Message 5 of 9
(4,365 Views)
Thanks for your attention. Yes, It should be hp4276A. "it works for a while" means the program has datas in the displays and no error jumps out. But when I run it once again, it doesn't work and an error 1300 jumps out. I attached a document with screenshot of errors and simple descriptions.
0 Kudos
Message 6 of 9
(4,314 Views)

Do you know which node generated the error?  If you don't try stepping through the VI.

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 7 of 9
(4,306 Views)
The error 1300 occures at Read Measurement node. Thanks.
0 Kudos
Message 8 of 9
(4,284 Views)

Hi Yvonne,

 

Have you taken a chance to search on National Instruments search for this error?  Here's a link:

 

http://search.ni.com/nisearch/app/main?q=error+1300+hp&x=0&y=0

Stephen Meserve
National Instruments
0 Kudos
Message 9 of 9
(4,274 Views)