Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Measuring with 9202 via FPGA gives always zero

Solved!
Go to solution

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:

mtursch_0-1709125968715.png

 

I made a reduced VI just for figuring out what is wrong:

mtursch_1-1709126029444.png

mtursch_2-1709126059620.png

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!

 

0 Kudos
Message 1 of 3
(647 Views)
Solution
Accepted by topic author mtursch

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

ZYOng_0-1709169537975.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
Message 2 of 3
(607 Views)

Thanks! I guess it is something stupid... 🙄

0 Kudos
Message 3 of 3
(580 Views)