Search the Community
Showing results for tags 'sharing'.
Hi I have at VI running LV8.2.1. It produce two data files. These two data files has to be moved to at DB-server. I have wrote an exe in LV2012 that run in the tray. This program look every minute if the other has produced the two datafiles. If they are pressent the exe move them to another place, make some datahandling at them and moven them to the data server. Sometimes the exe can't move the files because the other VI is in process of making them. Therefor I would like to use a mutex. I have tried to use .net (and mscorlib.dll) but I can't get it to work. Here is the code (LV2013): I have made two exes with different names, but when I run them it only one of them that work. It seems that it don't release the mutex. The other execan only get the mutex when I stop the first exe and close it. hope for some help:-) regards Bjarne