10-04-2017 04:50 PM
Hello all,
I have an entertaining little problem - follow the logic (it's only slightly complicated). I have a linux box that I run Windows VMs on (7 and 10). I have a shared folder that contains the LabVIEW question that I want to work on. I would prefer not to directly place this folder within the VM because it is a Dropbox folder and contains a couple 100 GB of stuff - this means this really starts to hog a lot of space when you scale this up for several VMs. The problem I am having is that every time I try to open a project from the shared folder, LabVIEW (16 and 14) crash. Does anyone have any thoughts on this?
Thanks
Solved! Go to Solution.
10-04-2017 05:09 PM
Maybe it's something in the relative paths?
10-05-2017 12:23 AM
Have you tried putting dropbox on pause while you are using the LabVIEW project?
10-05-2017 10:13 AM
Cirrusio,
Here are some questions to ponder that may provide some more insight into what's going on.
1. What OS were the projects created on?
2. Can you run the LabVIEW projects outside of the VM? This will let us know if there is a problem with the project itself, or just when calling it on the VM.
a. If you can run the projects outside of the VM, can this be done through the Dropbox folder, instead of just locally?
3. Are you accessing any hardware with the projects? NI hardware is not generally supported on VMs (although such VIs may still be runnable), and this might lead to some challenges.
Best,
BrandonN
Applications Engineer
10-05-2017 10:42 AM
It's always in Dropbox, whether it sits directly within the VM or it is in a shared folder (this would be a folder shared between the VM and the host system). This problem only occurs when it is a shared folder.
10-05-2017 10:47 AM
BrandonN,
1. Windows always because LabVIEW on Linux is severely handicapped 😮
2. No - these projects use RT and FPGA which are not supported on Linux. And I run Mint and Ubuntu which are not supported distros.
3. I think you are mistaken about this - I have NEVER had a problem with hardware communication on Virtualbox (don't use others so I can't speak to those). In fact, given that my computer is Linux based, this is the only way that I run my projects (in a VM). But, this is besides the point - the point is that I can not open the project when it resides in a shared folder; for some of these, I am not interested in running them, just editing.
Cheers
10-05-2017 02:46 PM
it is possible labview and dropbox are competing for dominance of the folder / file.
perhaps try to disable autosync on the dropbox folder before opening the project in labview.
-joe
10-05-2017 03:37 PM
Thanks, Joe. This is not the problem - it has something to do with the fact that the folder is shared.
10-05-2017 03:59 PM - edited 10-05-2017 04:01 PM
@cirrusio wrote:
Thanks, Joe. This is not the problem - it has something to do with the fact that the folder is shared.
I wouldn't be so sure. Have you tried pausing the syncing and then open LabVIEW? Pausing the syncing does wonders for when you're sure Dropbox is interfering but you don't know exactly how. When you're done with LabVIEW, unpause it and everything update. IMHO this is a dangerous way to operate. I believe that the safer way to share source code is with something like SVN.
10-05-2017 04:17 PM
was the shared folder mapped to a drive? if not, can you give that a try?
-Joe