LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copy a VI developed on FPGA on another PC

Hi,
I have a little problem (I'm a lucky man)... I developed a project on my PC. My project has a VI that run on FPGA (I have the bit file in the FPGA bitfile folder). If I want to copy the project in another PC I have to compile it. Is there a configuration file to set so I haven't to compile another time the sami VI?
0 Kudos
Message 1 of 7
(7,210 Views)

Hello,

Do you make use of RT or is it Windows/FPGA only? When moving the VI to another machine I assume that you are actually moving the entire project and corresponding bitfiles, correct? The Host VI can point to a compiled FPGA VI (i.e. the bitfile) so you don’t have to recompile VIs. It is quite common that a company develops a FPGA VI but the end-users might need different implementations of the GUI and using this method (only deploying the bitfile) allows the users to develop their own Host VIs without having access to LabVIEW FPGA Module.

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 2 of 7
(7,047 Views)
Hi Jimmie,
you are right. But suppose that I want to use the VI (and not the bitfile) because I want to do it. I make a mistake on the FPGA VI values default and so I have to correct they and after I have to run it... How can I do?
0 Kudos
Message 3 of 7
(7,038 Views)
Hello Fabio,
 
You wrote:
"But suppose that I want to use the VI (and not the bitfile) because I want to do it. I make a mistake on the FPGA VI values default and so I have to correct they and after I have to run it... How can I do?"
 
You can still change values on controls even though you make use of a bitfile, just set the new values you want programmatically through the host before running it. Just make sure that the host just open up a reference to the bitfile and not run it right away. When changes are done you can make execute the FPGA using Run Method. If you on the other hand would like to actually perform changes in your FPGA VI such as changing default values and such, then you have to recompile.
Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 4 of 7
(7,033 Views)
It means I cannot use the interactive front panel communication, isn't it?
0 Kudos
Message 5 of 7
(7,008 Views)

Hello,

'Interactive mode' is perfect when troubleshooting a FPGA and when one make use of multiple indicators acting as probes for an example. You don't have any debugging features available though, and when one want to debug one normally make use of emulator capabilities. I recommend you to make use of a Host VI showcasing the data when deployed.

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 6 of 7
(6,879 Views)

Hi Jimmie,

as I said before, you are right. But I thought that I cannot do what I asked you.

Thankyou very much for your help

0 Kudos
Message 7 of 7
(6,856 Views)