LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build Question when generating EXEs

Solved!
Go to solution

Is there a way to know who is using an EXE? I ask because I have made enhancements to my LabVIEW code that is out on our file server and I would like to know who is accessing it? Is this possible?

 

If I don't know someone is accessing it, I get an error.

0 Kudos
Message 1 of 4
(2,007 Views)

Do you mean who is downloading it or who is running it?

 

You can always include a "phone home" feature that logs the IP address of the computer and windows user name, and software version to a remote database with every run, but these phone-home features are typically disliked by users and antivirus scanners and also should be disclosed during installation. I would not do that.

Message 2 of 4
(1,982 Views)
Solution
Accepted by topic author Eric1977

I'm going to guess at your intention here because I'm not sure-

 

It seems like you have a .exe file on your network somewhere, and you've made an update to the source and want to rebuild the executable. The problem is that if someone is using the executable, the build process will throw an error.

 

If that's right, use the following:

 

IsFileInUse.png

 

(Note that if you don't have permission to write to the network drive, this function won't work.)

Message 3 of 4
(1,979 Views)

Your network administrator may be able to check, but otherwise altenbach's solution (or similar) is the only way to know.

0 Kudos
Message 4 of 4
(1,977 Views)