07-11-2024 10:18 AM
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…
07-15-2024 08:09 AM - edited 07-15-2024 08:10 AM
hello, I kind of made some sort of working program, but it gives me just this kind of result
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^^
07-15-2024 08:30 AM
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…)