LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

psd

Hi as,

 


as2717@sussex.ac.uk wrote:

ok ill try, but its too much work, are there any other method than using dma fifo?


There are several methods to transfer data from FPGA to RT host, and they all are explained in example VIs/projects coming with LabVIEW!

 

As you need some higher sample rates producing lots of samples the FIFO approach will be suited very well…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 21 of 23
(175 Views)

hello, I kind of made some sort of working program, but it gives me just this kind of result 

as2717sussexacuk_0-1721048796417.png

as2717sussexacuk_1-1721048819230.png

I am using write to measuremnet file in the PCs VI. i need more accurate data why does in oscilloscope is different while here is different and i kno wthe thing is with sample rate, how do i know the absolutely right smpl rate. PLS HELP^^

 

 

 

Download All
0 Kudos
Message 22 of 23
(145 Views)

Hi as,

 


as2717@sussex.ac.uk wrote:

i need more accurate data why does in oscilloscope is different while here is different


You read integer data from the FIFO and you get integer data in your measurement data file: I don't understand your problem!

 

Scopes usually handle measurement data as integer data internally (directly read from ADC) and apply some scaling to convert into voltage levels: do you know those scaling parameters?

 


as2717@sussex.ac.uk wrote:

i kno wthe thing is with sample rate, how do i know the absolutely right smpl rate.


You set a "loop time (usec)" in your FPGA VI and I guess it defines the sample rate of the FPGA loop. (I "guess" because I didn't care to load and open the whole project. Atleast I would define my FPGA VI that it accepts a samplerate == loop rate input value…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 23 of 23
(137 Views)