Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate an accurate waveform using GPIB?

I am using Labview 8.6.1.  I want to generate a piece-wise waveform using an Agilent 33120A function generator and GPIB.  I want to create the output waveform by sending one point at a time over the GPIB bus to the function generator.  I can do this by putting the GPIB write inside a loop and writing one waveform amplitude point at a time.  The problem is that although the amplitudes of the waveform are correct, the timing is not precise.  By timing, I mean the time between consequtive points on the waveform.  I guess this is because the loop is software timed and can be interrupted by the activities of Windows XP.  Can anyone suggest a good way to do this to achieve accurate waveform timing?  Thanks.
0 Kudos
Message 1 of 3
(3,594 Views)

Epsilon-Delta: 

 

Refer to the Programming guide, see if you can download your desired waveform into the arbitrary waveform memory and then program the generator to execute the waveform at the given rate.

At least that is how I would start to approach the task.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 3
(3,587 Views)

Hello,

       Have you downloaded the LabVIEW Instrument Driver for your instrument?  It can be found here.

 

Cheers,

 

NathanT

0 Kudos
Message 3 of 3
(3,543 Views)