ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga

I have a Compact Rio with 5 C series Modules 9205 AI. I modified Labview's example code 9205 Advanced IO, I want to have access to 32 different channels at any time from any number of combinations of modules (this is done). When I run just one channel and read the IO FIFO I

get the correct voltage (5.022v)followed by (1.000v) and sequence repeats.  Does anyone know why the 1.000v?

I've used a power supply and DC batteries (don't think it's the power). Any suggestions greatly appreciated. 

Hello World!
0 Kudos
Message 1 of 4
(2,804 Views)

Can you post the code so we can look at it?

 

How quickly are you accessing the FIFO?

 

     Rob

0 Kudos
Message 2 of 4
(2,787 Views)

I found out the cause already. If you input a wrong value into a FIFO's IO Sample Method Node in the FPGA vi (wrong value = 0, 1, 2... rather than say 10640 = channel 3) the data output is 1.000. I'll post the code shortly.

Hello World!
Message 3 of 4
(2,776 Views)

Glad you found the problem. And thank you for posting what the solution turned out to be. Makes searching on similar issues much easier.

 

     Rob

0 Kudos
Message 4 of 4
(2,743 Views)