11-23-2017 03:28 AM
Hello All,
I'm new to LabVIEW and I'm trying to perform a very simple task (at least I thought so), acquire a sine wave - 1KHz, 2Vpp, from signal generator using cRIO-9035 in Scan Interface mode with NI-9205, LabVIEW 2017 on Windows 10.
My program (also attached):
But the signal that I see is not 1kHz, it's much lower. Clearly I'm missing something.
In addition, when observing the AI channel in NI Distributed System Manager, same thing - the signal is much slower than the generated frequency.
Any assistance will be much appreciated.
Thanks.
Solved! Go to Solution.
11-23-2017 03:30 AM
What is the scan engine speed? Is it picking up samples quicker than 1Khz
11-23-2017 06:04 AM
You can't really push the scan engine to be faster than 1kHz. So based on Nyquist, you can only see a signal that is up to 500Hz. You probably really want to sample at 10kHz in order to get a good representation of your signal. Therefore, you will need to use the FPGA to read the signal and use a DMA FIFO to send the data to the RT system.
11-23-2017 06:10 AM
I totally forgot about it...
Thanks for pointing out the basics!
But I still can't figure out how to view the AI channel in Distributed System Manager program...
11-23-2017 08:18 AM
Tools->Distribution System Manager
Select your cRio->Expand
Click on which mod's output you want to see and expand. See output by clicking on AI0, AI1, etc.