03-10-2021 11:01 PM
Hi wiebe@CARYA,
Thanks for your reply. For linear interpolation, you mean that I implement this kind of functionality myself right? (which I believe is fairly straightforward to do so) Or do you mean there is some function in LabView FPGA that can efficiently do this task?
03-10-2021 11:05 PM
Hi wiebe@CARYA,
By sending data between PC/cRIO and FPGA, do you mean RT and FPGA? So this is ultimately limited by the processing speed of RT right?
Also, sorry I do not understand "You can use memory as a LUT. You can make a loop that allows the host to write the memory. So for each test, you can write a LUT as detailed as required. For instance, of you want to measure 50 points, that don't usually fit a general LUT, you can program a specific LUT." Can you clarify this part? It is describing how to communicate with the host from FPGA right? What do you mean by using memory as a LUT?
Thank you very much and sorry for multiple questions.
03-11-2021 12:56 AM
Hi Justin,
please read the help for the FPGA-LUT function: it also is based on memory used to buffer the LUT data.
You can easily implement this on your own with your own memory block in the FPGA. This gives you read&write access to this memory block and you can also implement the feature as described by wiebe: setting the LUT data from your RT host…
03-11-2021 02:46 AM
@JustinZZJ wrote:
Thanks for your reply. For linear interpolation, you mean that I implement this kind of functionality myself right? (which I believe is fairly straightforward to do so) Or do you mean there is some function in LabView FPGA that can efficiently do this task?
Yes, DIY. I'm not aware of a OoTB function, but FPGA has been a while.
03-11-2021 02:49 AM
@JustinZZJ wrote:
Hi wiebe@CARYA,
By sending data between PC/cRIO and FPGA, do you mean RT and FPGA? So this is ultimately limited by the processing speed of RT right?
Yes, speed will be limited. But you might be able to do it before the time critical part starts.
It all depends on every minute detail of what your program has to do and what it can get away with.
@JustinZZJ wrote:
Also, sorry I do not understand "You can use memory as a LUT. You can make a loop that allows the host to write the memory. So for each test, you can write a LUT as detailed as required. For instance, of you want to measure 50 points, that don't usually fit a general LUT, you can program a specific LUT." Can you clarify this part? It is describing how to communicate with the host from FPGA right? What do you mean by using memory as a LUT?
What GerdW said... Use a memory block, and read\write it with code.
03-11-2021 11:23 PM
Thank you very much GerdW for your help.
03-11-2021 11:23 PM
Thank you very much wiebe@CARYA for your help.