AnsweredAssumed Answered

HPVEE - 33120A and 34401A - Fast frequency generation

Question asked by michael.asbery on Mar 25, 1999
Latest reply on Mar 25, 1999 by michael.asbery
Hi !
I think I found your problem: *OPC waits for the sweep to finish before
outputting a value.  Thus program execution hangs here.  One solution is to
create two parallel threads: one that reads values from your multimeter,
and a second one that serial polls the waveform generator looking for your
sweep to stop.
If you set a variable "stop" in the thread for the waveform generator and
check this variable
in the reading thread this should work for you.  I started this for you in
the attached file, but it will take some work on your part to figure out
the serial poll command.

Hope this helps

Mike Asbery


At 09:07 PM 3/25/99 +0100, NOURRY Johnny wrote:
>Hi!
>
>    I need to change quickly frequencies from 100 to 20kHz (faster than
>a Until break cycle does)  on a 33120A waveform generator. At the same
>time, I measure voltages on a 34401A multimeter.

Outcomes