LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with Labview code for reading ADC data with 7811R DAQ board

Hey,

 

I'm doing a senior design project and I was wondering if anybody can look over the LabVIEW code that I have.

 

This is my first time using LabVIEW, so I wanted to make sure that there is nothing that looks out of place.  Also, is there a way to test out my code without the DAQ board?  I am most concerned about whether the FIFO is working correctly, and how to test that it is working.  

 

I am reading data from a TI ADS1675 chip, and the target board is the NI PXI-7811R.  The code is attached.

 

Thanks!

0 Kudos
Message 1 of 5
(3,160 Views)

Hey benshyong,

There is a way to simulate data that an R Series DAQ card would be acquiring by setting the FPGA to execute the VI on your development computer.  You can either program in the simulated data, use simulated data.  For information on setting that up check out our Tutorial on Efficient Development and Debugging with LabVIEW FPGA.  As for your project, at first glance everything looks like it is set up ok.  Is there something in particular you are unsure about in your project?

0 Kudos
Message 2 of 5
(3,106 Views)

Hi guys,

 

this discussion sounds very  interesting! Smiley Surprised , 'cause i'm using also an ADS1675 TI chip, i pulled out all its digital pins to bring them to 1 DIO connector of a single board RIO 9602 to be ready to perform communication.

 

I have to build labview code to read data from this chip implementing SPI bus on sbRIO(chip supports LVDS and CMOS).

 

Just wondering if this code implements already a customized version of SPI bus both on FPGA side and Host side that i try to develop on my own in a way that i can use it.

 

Thanks.Smiley Happy

 

 

0 Kudos
Message 3 of 5
(3,030 Views)

Hi,

 

i just want to know if the code you wrote worked for you or if you had to modify it to get data from ADC, i want to reuse it on a sbRIO9602.

 

Thanks

0 Kudos
Message 4 of 5
(2,984 Views)

Hello,

 

i just want to ask why in the host code after fifo data retrieval there is the division between 3 and data itself and after that there is also a subtraction...

0 Kudos
Message 5 of 5
(2,958 Views)