CraigGraham Posted February 10, 2009 Report Share Posted February 10, 2009 We have to put a bid in on a project that the client has decided to use Compact RIO for. New toys they want to play with. I've not done it before so I've been playing with the FPGA module and FPGA interface in Labview 8. Actually doing FPGA code and running it on a bit of hardware set as emulated works fine, but I need to be able to communicate with a UI VI on the host PC. When I (or any of the examples) try to open a reference to the FPGA VI from the host, an error is generated to the effect that Labview can't find the hardware. Should I be able to do this on emulated hardware or is the emulation only there for playing with the FPGA code in isolation? Before it's suggested, we're not buying the hardware to play with in order to make an informed bid. Quote Link to comment
LAVA 1.0 Content Posted February 10, 2009 Report Share Posted February 10, 2009 QUOTE (CraigGraham @ Feb 9 2009, 11:23 AM) Actually doing FPGA code and running it on a bit of hardware set as emulated works fine, but I need to be able to communicate with a UI VI on the host PC. When I (or any of the examples) try to open a reference to the FPGA VI from the host, an error is generated to the effect that Labview can't find the hardware. Should I be able to do this on emulated hardware or is the emulation only there for playing with the FPGA code in isolation? I just tested this and it should work in LV 8.6. I can define a cRIO controller and FPGA, configure it to run the FPGA VI in simulated mode (on the Development Computer) and then create a host VI (targetted to My Computer), which connects to the simulated FPGA VI using the normal FPGA host interface. I attached my example. Ignore the name of the project and some of the additional code as I reused an earlier example. http://lavag.org/old_files/post-3370-1234221191.zip'>Download File:post-3370-1234221191.zip Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.