01-05-2014 07:01 AM
hi sir,, i am a newbie to labview, can you teach me how to download an image array of pixels in an fpga board then read it again after some processing it in the fpga board? thank you 🙂
01-05-2014 10:59 AM
Look at the DMA FIFO help and examples. You will want to use one DMA FIFO to transfer data to the FPGA, and a second one to read the image back. If you are completely new to LabVIEW, learn the basics on your computer before trying to program the FPGA, since the FPGA is a much more limited environment. Try writing your algorithm so that it runs on your computer. If you get stuck on that part, post a much more specific question about the problem you encountered and attach your VI.
01-05-2014 08:17 PM
thank you sir.., 🙂 i will work on that.. i just want to know about it because we want to implement image compression in the fpga.. the image we will process will be coming from the computer thats why i want to know how to send the image data into the fpga and read the compressed image in the gui we made in the labview., thanks again 🙂
01-05-2014 08:27 PM
by the way sir, can i implement it without using ni rio?? we dont have any hardware component of rio.. all we have is an fpga board and labview fpga module.. tnx.. 🙂
01-05-2014 08:53 PM
LabVIEW for FPGA can only target National Instruments hardware. If your FPGA board did not come from NI then you cannot program it using LabVIEW.
01-05-2014 09:29 PM
yes, we are using ni digital fpga board., 🙂
01-05-2014 10:54 PM
In that case I don't understand what you meant about NI-RIO. You do not need a CompactRIO (cRIO), but you will probably need to install the NI-RIO drivers since they provide support for most or all NI FPGA devices, not just the cRIOs. Which board do you have?
01-06-2014 01:33 AM
ahm the reason why i ask if i need to use ni rio is that my frient told me that in order to write data on fpga, i need to use rio hardware. thats why i m asking if i can send an array of pixels using only labview fpga.. tnx 🙂
01-06-2014 06:06 AM
Robin,
Here's what you need to do as a minimum before you even consider doing this task:
1. Learn LabVIEW (plain old LabVIEW, not FPGA).
2. Learn LabVIEW FPGA.
You should have free online training available if your LV license is current. Someone will correct me if I'm wrong, but I believe LabVIEW core1 and core2 courses are the recommended basics to know before approaching FPGA.
Trust me, whilst pretty much anyone can write something in LabVIEW FPGA, it's something you need to understand well to write decently optimised code (and if you're not concerned about optimisation, why use FPGA). Do yourself a favour- learn first, develop second. If you try to hammer this together without this groundwork, I guarantee you it won't work out well.
01-06-2014 07:32 AM
thank you for your reply sir.. i will work on that.. i just want to know it sooner because our deadline is few days left..