|
|||||||||||||
Technically, I suppose you could consider this a bug.
The situation is this:
Net result:
Perhaps there's some technique I'm missing, but this is causing our team a pretty significant loss in productivity. (Note that we have no issue with re-using the .lvbitx from RT host code, that works just fine - it's using an existing front panel in interactive mode that you can't do without recompiling it locally.)
Project Explorer:
Change the target IP address:
Now you have to recompile...
This _should_ work, though it's always possible you've found a bug.
Just to confirm, when you say "You share the compiled code and .lvbitx with a team member", you're sharing the whole project, the FPGA, all of its subVIs, etc.? And when your coworker opens up that FPGA VI, that VI and all of its dependencies don't need to be re-saved?
It's not intended that the IP address is included in the "signature" of the bitfile (the signature is what tracks when a FPGA VI needs to recompile). As a test, have you tried pointing your project (that works) to the IP address of your coworker, and seeing if it runs or requires a recompile?
The other thing you may be running into is the naming scheme for default bitfile name in the build spec. To support some use cases, it actually consumes the whole path of the project in the algorithm it uses. Have your coworker open up the properties of the build spec under the FPGA, and check the bitfile name that is there. If it is different from the name of the .lvbitx file you sent him, have him try changing it to match that existing bitfile. Or you and he/she could agree on a non-default bitfile name that you both could use (this has the advantage of being less "alphabet soup" than the default naming scheme).
I'm sharing the whole project - the whole thing is checked into source control, so the team member has the full source and the compiled bitfile, and opens the .lvproj via project explorer. By convention, everyone should be opening it from an identical path on the local machine so that Labview doesn't get confused by potentially different root tree structure above the top of the source-controlled tree.
I'll investigate a little further, but the claim from the co-worker is that just opening the project locally and attempting to run the top level VI interactively forces a local recompile if any changes were made on the server and the project was resynced (including the bitfile).
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page