Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert analog data to array

I'm using the sbRIO Eval Kit and I am trying to perform various signal processing functions on some of the analog input signals.  At pesent, the signals "stream" into the RT processor from the FPGA and I can only do "typical" mathematical conversions on the data (i.e.convert the input voltage to some physical unit with a transfer function).

 

It appears that many/most of the signals processing VI's (movering average, filters, etc.) take an array as an input.  So the question is, how do I convert my "streaming" data from the FPGA to an array?

 

I've added a pic of what I'm trying to do below. 

 

Thanks,

 

Phil

Phillip Palmer, PhD
0 Kudos
Message 1 of 3
(3,643 Views)

Looks like you should be using the Pt to Pt functions.  They are in the Signal Processing->Point By Point palette.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(3,639 Views)

Adding to crossrulz’s recommendation you can use the Build Array function at the RT Host and use the desired VI. It seems that you are using Programmatic FPGA interface communication, if you switch to DMA FIFOs you will automatically get an array at the host side.

Alejandro C. | National Instruments
0 Kudos
Message 3 of 3
(3,616 Views)