LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

crio analog input problem

Hello

 

I'm using crio with AO NI9263 and AI N9239 modules and trying to measure on AI what I'm sending on AO. The problem is that if I use FPGA I don't get any results. I've tested the modules using Scan Interface mode and there AO+AI works perfectly well. Does anyone know what can cause the problem?

 

Regards

Mikolaj

0 Kudos
Message 1 of 9
(4,040 Views)

Hi Mikolaj,

where do you have problems? Do you still use the Scan Interface mode or did you write your own FPGA vi?

 

Mike

Message 2 of 9
(4,034 Views)

Hi Mike

 

I have written an extremely simple fpga vi. I write to AO and read from AI. No matter what I write to AO on AI I always get 0 (zero). Simmilar vi executed in Scan Interface mode works fine.

 

Mikolaj

Message Edited by souske on 09-09-2008 11:55 AM
0 Kudos
Message 3 of 9
(4,030 Views)

Hi Miloaj,

did you check you modules seperatly? Can you output something? Did you check if you have selected the correct mode? Did you download all functions to the fpga?

 

Mike

Message 4 of 9
(4,026 Views)

Hi Mike

 

Yes to all  Smiley Happy I even checked AO with a multimeter to make sure that something goes out.

 

Mikolaj

0 Kudos
Message 5 of 9
(4,012 Views)

Hi Mikolaj,

so you have only problems with reading the AI?

Mike

Message 6 of 9
(4,010 Views)

Yes.

 

Mikolaj

0 Kudos
Message 7 of 9
(3,996 Views)

I'd bet the problem you are running into is that you are not writing to the digital Start channel for the 9239, which is only available on the FPGA. Note that the FPGA I/O Node for the 9239 AI channels is self-timed (based on the module's data rate configured).

 

The programming experience for the 9239 is similar to the 9233. Check this other thread where someone was running into the same problem

 

http://forums.ni.com/ni/board/message?board.id=280&message.id=4432&query.id=127789#M4432

 

Hope this helps.

Message 8 of 9
(3,978 Views)

Thanks! That solved the problem. Examples for hardware are also a very nice thing. I completely forgot about them.

 

Regards

Mikolaj

0 Kudos
Message 9 of 9
(3,966 Views)