LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Agilent 33220A function generator in pulse mode

Solved!
Go to solution

Hi there,

I made a simple code that should be able to change duty cycle.
After running my code the display of Agilent 33220A should look like in the picture i attached.:

dty cycle.jpg
Desired settings: Pulse mode, f=1kHz, Amplitude=5Vpp, Offset, 2,5V
Could someone please tell me how i could change Dty Cyc in my labview code?

Kind regards,

Balázs

0 Kudos
Message 1 of 2
(2,631 Views)
Solution
Accepted by topic author LTBALAZS

The instrument is doing EXACTLY what you told it to do. You set the frequency for 1kHz. The pulse period of 1 kHz is 1 msec. You set the pulse width to 0.99998 msec. The duty cycle is Width/Period*100%. Ergo in your case (0.99998/1)*100% = 99.998%

 

You didn't specify what duty cycle you want. For example, if you want a 50% duty cycle you need to change the Pulse Width setting to 0.0005 (i.e., 0.5 msec)

 

bd.PNG

0 Kudos
Message 2 of 2
(2,601 Views)