Showing results for 
Search instead for 
Did you mean: 

LabVIEW crash when calling project in VM

Go to solution
@billko wrote:
I wouldn't be so sure.  Have you tried pausing the syncing and then open LabVIEW?  

Sorry - that wasn't clear. Yesyesyesyes - this code is always in a Dropbox folder.  The ONLY time I have issues is when the Dropbox folder is a shared folder.


@billko wrote:
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.

Two things - use git not svn.  Second, I would recommend NOT using repositories as a backup.  I use Dropbox because I work across several different computers (including several different VMs on a single computer) and I don't want to have to be constantly duplicating or checking the code out.  If I were to check in code every time I shutdown for an evening or switched to a different machine, my repository would be cluttered with meaningless versions.  From a philosophical perspective, I believe that each check-in should 1) work and 2) be associated with an issue raised.  

But that is tangential, so I will reiterate the problem - working on a Dropbox folder dedicated to a VM results in no issues.  Working on a Dropbox folder shared between the client and host of the VM creates a situation where I can not open a project.

0 Kudos
Message 11 of 21

How do you share the folder between client and host? We had issues when using the Virtualbox shared folders (e.g. project could not be saved), but everything was working properly when working with network shares (as was already mentioned in a previous post).


0 Kudos
Message 12 of 21

Maybe it is the host system that is not liking the shared folders (I run different flavors of linux)?  As far as sharing - I simply go to Settings->Shared Folders and select the folder that I want to share on the host.  I make sure that I have full access and the folder is always auto-mounted.

0 Kudos
Message 13 of 21
Accepted by cirrusio

That's my point... the built-in sharing of VirtualBox did not work for us with LabVIEW. We then created a network share on the host machine and mounted it in the guest. That worked.


Message 14 of 21

OK - will give this a try.  Did you share using samba?

0 Kudos
Message 15 of 21

Yes. We're working with Windows machines only, we used the built-in sharing feature, which afaik uses SMB (Samba).

Message 16 of 21

OK - this is unlikely to work then.  When you create a network share (in Windows and in Linux), you will access that share using the address.  For VirtualBox, this will be VBOXSVR so it will look like this - \\VBOXSVR\Dropbox.  This is no different than accessing it via the shared folders feature of VBox...

0 Kudos
Message 17 of 21