LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to collect a sine wave using PCIe-6363?

Solved!
Go to solution

Hi, I just start learning Labview. I want to collect a sine wave (9V, 140kHz), but the wave collected is wired. Can someone help me please?

Download All
0 Kudos
Message 1 of 17
(198 Views)

Before getting into the requested problem, I recommend you to go through Basic LabVIEW State Machine Architecture.

 

 https://www.ni.com/en/support/documentation/supplemental/16/simple-state-machine-template-documentat... 

 

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 17
(174 Views)

You are looking at a phenomenon that engineers call "noise" (there may be some "signal" mixed in there, as the overall shape seems to show a rising curve, possibly a 60 Hz sinusoid (or possibly 50 Hz).  You seem to be sampling very rapidly, which may make you see more "noise" than "signal".

 

Bob Schor

0 Kudos
Message 3 of 17
(161 Views)

How did you connect the signal? Please share your wiring diagram.

Do you follow the recommendation in Field Wiring and Noise Considerations for Analog Signals?

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 4 of 17
(147 Views)

The output connected to ai 0+, ground connected to ai 0-. The wave collected looks like a part of sine wave.

Download All
0 Kudos
Message 5 of 17
(142 Views)

Thank you, I will learn it.🙂

0 Kudos
Message 6 of 17
(137 Views)

The noise disappear. But the wave still confusing.

0 Kudos
Message 7 of 17
(134 Views)

Hi cainiao,

 


@cainiao wrote:

The noise disappear. But the wave still confusing.


According to the graph X scale you don't obey Nyquist when you want to measure a 140kHz sine wave...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 17
(122 Views)
Solution
Accepted by topic author cainiao

santo_13_0-1760427584432.jpeg

 

Your output BNC shield isn't grounded to the power supply, it is required.

 

What does the board supposed to do with dual supply rail?

How are you ensuring that your board is generating the sinewave which the DAQ is supposed to capture?

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 9 of 17
(116 Views)

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?

0 Kudos
Message 10 of 17
(78 Views)