Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA: max Value from Array

Hi Guys,

 

am reading numerical data from a Signalgenerator, via FPGA. The data is displayed in real time on a front pannel indiactor and historically on afront pannel chart.

 

I want to display the max of the realtime data on the front pannel, i apriciate that to do this i need to store the data as i go (perhaps in an array?)


So how can i build up samples and display the max and index of this data ?

 

cheers mehmet

0 Kudos
Message 1 of 5
(4,421 Views)

Hello mehmet,

If I understand your application correctly you will have to store the last 1024 values

somehow (e.g. in an array). However, I think it is more practicable to do this form

of analyziation in the real-time host VI.

 

Regards,

  Georg

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

hi georg,

 

thanks, you are right. i can do this in the real time host VI ,even it is much easier, but it takes time.

0 Kudos
Message 3 of 5
(4,381 Views)

It should not take too much time if you do it efficiently. You could try something like this:

Sample.png

0 Kudos
Message 4 of 5
(4,377 Views)
i must send them first to Host VI , then again into FPGA VI for further processing ; it takes time .i m trying to find another solution at the moment. thank you for your help
0 Kudos
Message 5 of 5
(4,370 Views)