LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MEASURING WITH HP 54600 SCOPE

Hello
I am new user of labview and I am trying to make a program that measures the output of a simple circuit (ie LP filter) and shows it on the labview display window in time domain and to modify it to show the magnitude as a function of frequency.I managed to have the right sinusoidal curve on the oscilloscope (hp54600B) display but I only get a ramp on my labview window
I am using version 7.1 and using a GPIB and the hp 33120A waveform generator
i appreciate if any one can take a look at the program code and advice how to change it.
Thanks in advance

Teddy555
0 Kudos
Message 1 of 6
(3,889 Views)
I don't have that exact model scope or a manual for so I can't comment on the commands you are sending. I suspect you are simply not requesting enough points. Is there a reason you're not using the driver available for it? It can be downloaded from http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E93F7659CE034080020E748... and I would recomend you try that.
0 Kudos
Message 2 of 6
(3,879 Views)
THANKS VERY MUCH dENIS FOR PROMPT REPLY. I DOWNLOADED THE DRIVER AND STARTED TO EXPERIMENT WITH IT.
ONE MORE QUESTION PLEASE : IF I WANT LABVIEW TO SHOW THE BEHAVIOUR OF MY CIRCUIT AS A FUNCTION OF FREQUENCY, DO YOU HAVE A SUGGESTION ON HOW TO MANAGE THAT??
THANKS AGAIN
TEDDY
0 Kudos
Message 3 of 6
(3,874 Views)

Don't have to shout.Smiley Wink

Did you also download the driver for the 33120A? I would recomend you do that as well. One of the functions is ag33xxx - config Waveform. This has a frequency input control. You can put the function gen and scope VIs inside a loop and increment the frequency with each iteration of the loop. There are several ways to do that. You can create an array of values and with each iteration, you index the next frequency value out of the array. You can also do it with a calculation. You can provide a start value, an increment, and a final value. You would wire your start value to a shift register and with each iteration, add the step size, and terminate the while loop when the value in the shift register is greater or equal to the final value.

0 Kudos
Message 4 of 6
(3,868 Views)
I was just whispering Denis
Thanks again for your help ,I'll download the drivers and se if I manage the problem
0 Kudos
Message 5 of 6
(3,865 Views)
As Dennis said in the other thread DO NOT duplicate !

and why are you still issuing direct visa commands when a driver is available ?
also please be more strict in your  layout of the program, in  a nice way layout makes debugging much easier
and please use a shift register for  the error cluster

and why not take the complete sinus or a chirp and then use the  LabVIEW  FFT to see the frquency characteristics.

greetings from the Netherlands
0 Kudos
Message 6 of 6
(3,861 Views)