Hi everyone -
I'm having an issue where I can't seem to get my FPGA code to read data channels. My goal is to pull data using FPGA, push it to a DMA buffer, and then have my host computer pull data from the DMA buffer and save it. The goal is to take pressure and temperature data at 2000 Hz.
Current Issue
I've used the FPGA wizard to create an FPGA VI and a host VI. While I'm in the FPGA VI, I need to tell it to read in which channels (from the NI 9201) and to write them to the buffer. I can add a Read I/O Method item, and it shows three options. I/O Item, Timeout, and Timed Out. I believe when I click on I/O Item I should be able to select Mod2/AI0, for example. But instead it just says "No FPGA I/O Selectable". I'm not sure what I'm missing. I've attached the screenshot of the error, my two VIs, and a screenshot of my project.
Troubleshooting
I tried to use an I/O node instead of a Read I/O Method item. For this one, I am able to select I/O items without issue. However, when i try to take in data and then display it on the FPGA front panel (for debugging purposes), the data remains at 0.00000. I'm expecting it to read 0.0000 , -0.0001, 0.001, etc from jitter. If I try to pass it to my host VI and save the data, the resulting data text file is empty. It's possible that I'm not passing or saving the data correctly, but my suspicion is that I'm just not reading in data from the start, and so I'm not passing anything through the buffer. Also - if I try to create a Reset I/O method, I get the same error where it says there are no selectable FPGA I/O items. So I'm not sure why I can select them for a node but not for method(s).
Please note that I'm using an expansion chassis, so I don't have Labview Real-Time. After reading Labview material, it says that I should be able to pass the FPGA data directly to the host, but it might not be an expected method of data aq.
Hardware
- NI 9146 with 4 slots that have:
- NI 9213 with 6 thermocouple channels
- NI 9201 with 8 pressure transducer channels
- NI 9472 empty
- NI 9472 with 5 valve command channels
- Lenovo Desktop computer, with Windows 7 64-bit
Software
- Labview 2011 SP1
- Development System, Professional Development System
- Application Builder, FPGA Module (and FPGA Development), Real Time Module, Touch Panel Module
- All available toolkits
- NI LabVIEW Signal Express 2011
- NI LabVIEW System Identificaiton Assistant 2011
Any ideas where I'm going wrong?