LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to collect a sine wave using PCIe-6363?

Solved!
Go to solution

The board is an amplifier. It ouputs sine wave, I already measure the output with oscilloscope, it's correct.

0 Kudos
Message 11 of 17
(96 Views)

@cainiao wrote:

Thank you sir, I connected BNC ground to the power supply, the wave appears. But here's another question: It seems that the wave is a bit distorted. How can I solve it?




Your sampling rate may be low, trying increasing it to the max supported

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 12 of 17
(93 Views)

Hi cainiao,

 


@cainiao wrote:

It seems that the wave is a bit distorted. How can I solve it?


Did you notice my previous message?

 

What is your sample rate and what is the frequency of that sine wave?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 17
(86 Views)

Hi, GerdW

 

The frequency of sine wave is 1kHz. Sample rate 9kHz. I think it obeys Nyquist theorem.

 

Cainiao

0 Kudos
Message 14 of 17
(69 Views)

@cainiao wrote:

Hi, GerdW

 

The frequency of sine wave is 1kHz. Sample rate 9kHz. I think it obeys Nyquist theorem.

 

Cainiao


Please keep in mind that Nyquist criteria preserve only the frequency and not the quality (i.e., shape). A 1kHz sine wave sampled at 2kHz will show up as a triangle wave after sampling.

 

You need to sample at 10x or more the frequency to acquire or generate a reasonable quality sine wave.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 15 of 17
(61 Views)

Hi cainiao,

 


@cainiao wrote:

The frequency of sine wave is 1kHz. Sample rate 9kHz. I think it obeys Nyquist theorem.


Your first message told very different numbers!

 

Now you get just 9 samples per sine wave: what do you expect?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 17
(57 Views)

Thanks for your reply. I will try later

0 Kudos
Message 17 of 17
(51 Views)