07-17-2013 12:09 PM
Hi everybody,
I am having trouble trying to transfer a project from a machine to another... What I did is I zipped the entire project and then transferred it. The project builds without errors on the first machine. On the second one, I don't get a broken arrow, but when I try to build the app, I get the following message :
I click "Continue", then I get 10 other identical messages in a row, but with 3 instead of 4. I dismiss them all, then LabVIEW crashes.
I have also tried other ways to distribute the application. I tried Save as->Include all dependencies, but doing that always results in a crash after I get a message saying "This operation will save 1 file(s) over existing files...". This always happens for the same file. I found that I had another vi of the same name in another library, which I renamed, but I still get this error...
Another srange thing is that when I do a mass compile of certain librairies on the first machine, I will not get any errors, whereas I will get many errors doing a mass compile of the same librairies on the second machine.
I have spent many days on this now, and am starting to run out of ideas... Any help would be really appreciated!!
Thanks!
Sylvain
07-17-2013 12:20 PM
The questions I have are, how did you install Labview on the Second machine? It seems that therre are links within the first machine that are not present in the second machine. When I install Labview, I generally create a location where you execute the machine has access (it looks like what you did) and do the setup. It seems that one of the location you have setup in the second machine does not exists. Could this be your device cd location? Did you do an installation from the cd? to load the drivers in?
Have you checked your first machine and looked for \device on it?
07-17-2013 12:22 PM
Where do the build specifications point? What's different between the two machines (toolkits, drivers, etc.). What are the exact error messages?
07-17-2013 12:23 PM
What does "Drive \Device\Harddisk4\DR4" mean to you? They are very odd names (unless you edited the message to hide the drive/device name to make it generic looking.
Is there anyting within the build spec. settings that might be pointing to that drive path?
07-17-2013 12:35 PM
I installed LabVIEW from an original CD, on my C drive. Every feature/add-on on the first machine is also installed on the second. Both are LV 2012 SP1. There are no \Device folder on the first machine. In fact, this message seems to come from Windows rather than from LabVIEW: http://support.microsoft.com/kb/330137
I just don't understand why this happens when I try to build...
07-17-2013 12:42 PM
The build specs point to E:\builds. E:\ is the drive on which the project is located. DRx seem to be names given to mounted drives by Windows I guess... Look at the link in my other post.
07-18-2013 02:07 AM
I'm not sure how much I can add, but have you tried switching to the "Files" tab in the project explorer window - I suspect that you may have some drivers or libraries on a separate drive path that's not being duplicated in your copy.
Regards
Paul
07-18-2013 10:25 AM
Paul : Thanks for your answer. I compared the Files tab of the two projects and they are exactly the same so this isn't the problem.
In fact, I am pretty sure that it comes from a lack of allocated memory. See, I have somewhat huge mathscripts computing significant amounts of data in a VI, and I think LabVIEW's memory overflows when compiling.
Another thing that makes me think this way is that I noticed that in the About LabVIEW… window from the Help menu, the first PC has twice the allocated memory. Is there a way to improve memory allocation in LabVIEW? What are the best practices when using arrays of double floating-point within a mathscript?
07-18-2013 11:14 AM
@SylvainF wrote:
Another thing that makes me think this way is that I noticed that in the About LabVIEW… window from the Help menu, the first PC has twice the allocated memory.
Is this under identical conditions, loading exactly the same VIs under a freshly started LabVIEW?
07-18-2013 11:40 AM
@altenbach wrote:
@SylvainF wrote:
Another thing that makes me think this way is that I noticed that in the About LabVIEW… window from the Help menu, the first PC has twice the allocated memory.
Is this under identical conditions, loading exactly the same VIs under a freshly started LabVIEW?
I reopened the project on both computers without opening any VIs, and now the allocated memory is only slightly different (369501K compared to 365294K). I guess this is normal...