02-28-2024 07:18 AM
Hi there,
I`m working on my first realtime/FPGA project in LabVIEW. Most of the things are working well, but I`ve a problem:
I installed 3 9202 for measuring voltages. All of them returning in my code exactly "0" with and without some (voltage)source attached to them.
Here is the configuration I`m using:
I made a reduced VI just for figuring out what is wrong:
But it`s the same thing as in my real project and I don`t know what`s the problem might be. I`ll tried different configs of the 9209 (samperate, filter ...) but nothing worked.
When I`m using NI MAX (scan engine) I get the right voltage on each channel.
Does anyone has an idea what I`m doing wrong?
Thanks!
Solved! Go to Solution.
02-28-2024 07:20 PM
You need to write TRUE to the start channel to start the acquisition. Always refer to the shipping example to get started.
<LabVIEW>\examples\CompactRIO\Module Specific\NI 9202\NI 9202 Getting Started\NI 9202 Getting Started (FPGA).vi
02-29-2024 02:10 AM
Thanks! I guess it is something stupid... 🙄