02-18-2008 10:10 AM
02-18-2008 10:27 AM
02-18-2008 10:37 AM
02-18-2008 11:01 AM
Thanks GerdW for the info.
Percy, if you are on the Windows platform, you could use the DOS command ATTRIB to set or remove permissions. Type "attrib/?" under DOS to see the usage.
Also see the attached code. Replace the "testfile.txt" to your file name and give an appropriate working directory. Hope this helps.
Regs,
Vikas
02-18-2008 11:08 AM
02-19-2008 02:35 PM
02-19-2008 10:59 PM
05-26-2009 11:20 AM
I have run into a somewhat similar problem myself:
We run a number of windows-based multi-user systems and Labview default file permission settings does not allow one user to modify files created by another user.
I tried a solution similar to the above, although using a more advanced command line tool "ICACLS" instead of "attrib" to give a full access rights to everyone after particular file is created by Labview.
What's bothering me is that every time a command line call is made, a shell window pops up for a split second on top of the screen.
Is there any way to suppress this window from popping up or perhaps use a different way of calling windows functions to avoid this behavior?
05-26-2009 12:12 PM
Hi Fedor,
Assuming you are still using the System Exec.vi to make the call, wire a TRUE boolean to the run minimised? input. That should solve your problem.
- Vikas
04-18-2013 01:32 AM
I realise this is quite an old thread but I still couldn't find an elegant solution in the LabVIEW forum.
Have a look here for how to do it in LabVIEW.