LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numerical Integration Method in FPGA

Solved!
Go to solution

Hi,

Thanks for your suggestion I shifted from totally depending on FPGA to (FPGA - RT) system. I was not able to use SCTL for analog NI-9223 since the program did not allowed it, so I take the reading from my Analog input AI0 and send it to FIFO write in while loop and take the reading and calculation in RT side. The program is working now and Calculating the value.

 

However, I am getting one issue here. Even though I disconnect my function generator the program in RT main is still running and calculating the value, although there is no graph in the graph chart. I am observing 10.5958 values from my analog AI0 even without connecting the Function Generator.

 

*Scaling Factor- To calculate current on the basis of current probe sensitivity.FPGA block diagramFPGA block diagramCalculation with Function Generator connectedCalculation with Function Generator connectedAI0 output without function generator connectedAI0 output without function generator connectedRT main diagramRT main diagram

0 Kudos
Message 21 of 22
(22 Views)

Hi Abhi14try,


@Abhi14ry wrote:

However, I am getting one issue here. Even though I disconnect my function generator the program in RT main is still running and calculating the value, although there is no graph in the graph chart. I am observing 10.5958 values from my analog AI0 even without connecting the Function Generator.



That is because your code does not know that  you disconnected your function generator, your AI0 is floating and that is the value that you are seeing. 

BTW, didn't you say you need reaction time in us and that you need to output a signal once the conditions are met? 

0 Kudos
Message 22 of 22
(18 Views)