LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hp4192a

Hi,

I downloaded the driver for HP4192a.LLB from NI website. Is there anyone who can tell me how to use the Log Sweep mode? Thanks.
0 Kudos
Message 1 of 20
(4,156 Views)
Have you checked the instrument's manual?

Or are you asking about the VI's inputs or operation?
0 Kudos
Message 2 of 20
(4,155 Views)
Hi,

Yes, I mean how to control the machine with the downloaded VI. Do you think we need to modify the VI so that the Log Sweep function will work? If so, can you give me some suggestions? As a matter of factor, I do not know Labview much. Your help will be highly appreciated.
0 Kudos
Message 3 of 20
(4,133 Views)
Have you found the "HP4192A Sweep" VI in that library? That's the one that sweeps the instrument. The controls on it are fairly self-explanatory. Set the log sweep slider to "ON" and set the sweep range, and whether or not you're sweeping bias or frequency. Not much more to it than that.

The VIs themselves are not written all that well, and it's clear they're old since they use the old GPIB commands. Thus, I can't really speak to their accuracy.

Write back if you have further problems.

To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
0 Kudos
Message 4 of 20
(4,126 Views)
Thank you for your prompt response. I did switch the Log Sweep ON in both HP4192A Sweep.vi and HP4192A Sweep SUBVI.vi Front Panels. I also set the frequency range and step. It still scan in Linear Mode. Do you know why? By the way,  can you tell me how to deal with STEP in Log Sweep mode?
0 Kudos
Message 5 of 20
(4,119 Views)
Are you trying to run the "HP4192A Example"? If so, that calls the "HP4192A Sweep" VI, but it sets the sweep to linear. Even if you have the "HP4192A Sweep" VI open and you set the front panel control to "LOG", when you run the "HP4192A Example", it tells the "HP4192A Sweep" VI to run in "LINEAR" mode. You either need to run the "HP4192A Sweep" VI on its own, or change the "HP4192A Example" so that you can have a control on the front panel that sets the mode:

Adding a control to the "HP4192A Example" to control the sweep mode.

As for your question on the step value: I don't understand your question. That's just the step size for the sweep. You should check the instrument's manual to determine if you need to make this any specific value for sweeping in log mode.


Message Edited by smercurio_fc on 04-03-2008 09:28 AM
0 Kudos
Message 6 of 20
(4,115 Views)
Thank you very much. I will try to modify the vi according to your idea.
0 Kudos
Message 7 of 20
(4,102 Views)

I have the same problem. I was wondering if you were able to fix and perform a log sweep with that VI. Can you share information as to how you did it?

0 Kudos
Message 8 of 20
(3,656 Views)

Hi imp analyzer,

 

Did you perform the modifcations mentioned by smercurio_fc? As mentioned, the "HP4192A Example.vi" does not have anything wired to the log sweep terminal of the "HP4192A Sweep.vi".

You will have to modify the "HP4192A Example.vi" by either creating a constant or a control for the log sweep terminal to set a value other than the default.



Milan
0 Kudos
Message 9 of 20
(3,643 Views)

I have never worked with LabVIEW before. I set the "log sweep" terminal to ON (image attached) and it now does a log sweep. However, after the sweep is completed, it doesn't pop up the window where I used to be able to specify the excel file name under which I store the data. Basically, it does nothing after scan is completed and I can see the Example.vi still showing a "running" status.

 

Could you please tell me what I could do stop the scan after it is completed and be able to save the data in an excel file.

 

Thank you for your help

0 Kudos
Message 10 of 20
(3,634 Views)