Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Real Time array operations and measurement

HI !

I'm trying to use cRIO 9030 and NI 9223 to measure actual voltage on 4 channels of the module with 1MHz frequency (but in this code i don't use the module, i use constants instead to track errors), show it on the graph and log the data about exceeding trigger set before. The problem is that i need to use big arrays of those voltage data and cRIO doesnt seem like it could hold such data. Do you have any ideas how could I optimise my code ? (i'm begginer with FPGA)

PS. It's not final code in non deterministic loop, it's just minimum and even that can't be handled.

2016-01-25 (1).png

2016-01-25.png

0 Kudos
Message 1 of 2
(3,991 Views)

Dear Bakur,

 

I dont know if I really understand what do you want ot achieve in your code. I suggest, you have look on this example:

https://forums.ni.com/t5/Example-Code/Reference-Example-for-Streaming-Data-from-FPGA-to-cRIO-to/ta-p...

 

You can also use the project template LV FPGA Waveform Acquisition and Logging on cRIO (Create project > Sample Projects > CompactRIO). I think this could ba a good starting point for you.

 

 

 

B/R

Jozef Lipták
0 Kudos
Message 2 of 2
(3,909 Views)