Visit our LabVIEW Wiki LabVIEW Embedded Portal
Tags |
(This content has not been tagged yet)
|
![]() |
Nov 8 2006, 06:17 PM
Post
#1
|
|||
![]() Very Active Member Posts: 50 Joined: 17-December 04 Member No.: 1255 Using LabVIEW Since:1993 LV:8.20 ,7.1 ,8.0.1
|
I've got a small program running on a cRIO unit. I've just upgraded from 7.1 to 8.20, so I'm not quite clear on how the new project paradigm should be used. The problem is that there is a PC-hosted interface to the FPGA program. If I open the project that was used to build both the FPGA program and the host program, then open and run the host program, everything is fine. If I open the host program by itself, without opening the project, I get errors (something like "FPGA reference opened outside of the project".) This makes sense, since the project is (I believe) where the FPGA hardware description is stored. However, it is less than ideal for the end-user.
When a non-LV end-user wants to run the system, it was possible on LabVIEW 7.1 for them to just open the host program and run it. Now they need to open the project, navigate to the host program, then open that and run it. Doesn't sound like a big deal, but the extra steps are an annoyance, and the reasons for it aren't obvious to the end-user. The only work-around I've found so far is to build the host program into an .exe. That seems to do the trick. Now they can double-click on the .exe and it runs fine, outside of LV. Then they run another LabVIEW program on the PC and things are working. I don't really like this option, though, since at some point I might want the 2nd LabVIEW program to communicate with the Host program so as to interact directly with the FPGA program. Having the Host program in an .exe makes this more difficult. Is there any other way to use the Build Specs or some other trick to create a version of the Host program that can be run inside LabVIEW without having to open the project first? Thanks, Dave -------------------- -------------------------------------------------------------
David Thomson Original Code Consulting www.originalcode.com National Instruments Alliance Program Member Certified LabVIEW Architect Certified Instrument Driver Developer ------------------------------------------------------------- Senior Scientist, Droplet Measurement Technologies Boulder, Colorado ------------------------------------------------------------- There are 10 kinds of people: those who understand binary, and those who don't. {{LabVIEW Champion}}
|
||
|
|
|||
| Ad |
Nov 8 2006, 06:17 PM
Post
#
|
||
|
|
|
||
|
|
|||
Nov 28 2007, 09:57 PM
Post
#2
|
|||
|
One hit wonder! Member Posts: 1 Joined: 28-November 07 Member No.: 10004 Using LabVIEW Since:2000 LV:5.1 ,. ,.
|
If you are linking to the FPGA VI in the project from the Open FPGA VI Reference, then the project is needed. Alternatively, you can link the Open FPGA VI Reference to the bitfile directly. Then you don't need the project anymore. I believe you can find more info on this in the help.
-chad
|
||
|
|
|||
![]() ![]() |
| Time is now: 7th January 2009 - 10:13 PM |