I set the value of "Number of Elements Per Write" in Properties of DMA FIFO with respect to number of sensors connected to my cRIO. The value can be set in powers of two: 1, 2, 4 up to 32. The thing is that I when I change how many elements I "write during one write", I need the RT app to respond to it automatically and correctly, but I haven't found any way to get this value programatically inside the FPGA program. Now I must change this property in LV project and also in a constant in FPGA program. Is there any way to read that property programatically?
The only solution I can think of is to set up bunch of DMA FIFOs, each with different Number of elements per write, and use only one in a single application, but I think this is so bad in so many ways! (Compilation time is the biggest concern.)
Not to be confused with "Get Number of Elements to Write".
Thomas