07-11-2016 11:18 AM
Hello all,
I am using the LabVIEW FPGA module 2015 for a project. I would like to access the internal sttings (data type, size, etc) of blocks like the scaled window, FFT,
or any other block. Or even change the size of a FIFO externally without having to open its set up menu. Can this be done in LabVIEW?
Thanks in advance,
Hazem
Solved! Go to Solution.
07-12-2016 03:01 PM
Hello Hazem93,
Can you describe or post a screen shot of what you mean by blocks. You can do some configuration of the FPGA FIFO, check out the link below:
FIFO.Configure (Invoke Method)
https://zone.ni.com/reference/en-XX/help/371599H-01/lvfpgahost/fpga_method_fifo_config/
07-17-2016 09:51 AM
Those are blocks (or Express VIs) [ FFT, Scaled Window, Mean respectively]
How to access their internal settings from the host (like their sizes, data types, etc) ?
Also, how to change the sizes of FIFOs externally from the host? (The link you posted is about FIFOs used in communication between the host and the FPGA, however the FIFOs I am using are Target - Scoped FIFOs)
Appreciate your help
07-17-2016 12:35 PM
You can "right-click...convert to subVI" to open the diagram and repeat for the inner VIs.
This allows you to see the actual code. You might be able to scavenge some code fragments and use your own code.
07-17-2016 01:18 PM
Great!! Thanks altenbach
It works for the scaled window and mean express VIs; However for the FFT express VI, I reach this
Can this be altered in any way?
Also, Can the Target - Scoped FIFO size be changed externally?
Thanks a lot.
07-17-2016 01:49 PM
I you read my reply again, I said to repeat the operation for the inner VIs. This is an inner VI. 😄
07-17-2016 02:01 PM
Well, I hope it was that easy...but there is no "convert to subVI" option in this Inner VI !
07-17-2016 02:05 PM
Ah sorry, here the menu entry is "open front panel" which will give you a dialog asking if it should convert it. Do that. 😄
07-17-2016 02:28 PM
That works Thanks!
Is there a similar way for the FIFO size?