From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga analog sample rate

What is the quickest rate which you can read/write an analog channel in fpga (with a 7831 R card)?
If you attempt to read/write quicker than is possible would it cause an error when running the fpga VI from real time?
0 Kudos
Message 1 of 2
(2,259 Views)
To read, about 4.3 microseconds. You can't sample any faster because the
function won't return any faster. If you try to read the same value in two
different loops in your vi, each will sample every 8.6 us. To avoid this
performance hit, I've fed the same signal to two inputs.

You can write about every 1 us. If you want to read, process, and then
write a signal, you can use interpolation to output 4 values for every one
input to achieve the best possible fineness. To obtain the best
performance, it is necessary to carefully arrange the read, process, and
write functions so that waiting is minimized.


0 Kudos
Message 2 of 2
(2,256 Views)