Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

generate a sine wave but receive a square wave

I used a AFG1022 to generate a continuous sine wave. But I received a square wave with PXI-6366 as the picture shows when I set the amplitude of the wave 4vpp. And when I set the amplitude of the wave 1vpp, I can receive nothing. I want to know why I receive square wave when the input signal is sine wave.

2A0CD3ADD2BD2C4167B41C8E9F4354BD.png

0 Kudos
Message 1 of 7
(3,606 Views)

How many points do you have per cycle?

0 Kudos
Message 2 of 7
(3,585 Views)

the waveform is 100Hz. sample rate is 1000Hz. number of per channel is 1000.

0 Kudos
Message 3 of 7
(3,570 Views)

it is not a square wave. now I find that is a trapezoidal wave.

0 Kudos
Message 4 of 7
(3,569 Views)

What amplitude are you outputting?  This looks a lot like clipping.  So if your DAQ is setup for a +-5V signal, but you are outputting a larger signal (like +-10V), you will get a waveform much like what you are seeing.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 7
(3,557 Views)

Check your Arbitrary waveform generator settings.  Check which Impedance the ARB is driving.  When it is set to 50-ohms and the input it is actually driving is high impedance, it will essentially double the amplitude of the waveform.  A 10Vpp will become a 20Vpp.  Likewise, a 4Vpeak setting will become a 8Vpp then 16Vpp with the wrong impedance setting.  Know how your equipment works as sometimes it could damage devices downstream.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 6 of 7
(3,548 Views)

Can you zoom into a single period and set the graph to also show the data points (not just lines).

0 Kudos
Message 7 of 7
(3,545 Views)