LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change config file properties programatically

hi, all i have created one config file and from that file i am readindg data. Now when i click on this file it shows that this file is in read only format. Now in this same config file i want to write the data but when i try to write data by using write key function it gives me some error just like please check the permission of the file.

For this config file i canot change its permission to archive permenantly. So Is there any way to change the file permission programatically from read only archieve and again from archieve to read only.

0 Kudos
Message 1 of 2
(2,576 Views)

You can change the file permissions programmatically using LabVIEW.  This allows you to temporarily change the permission and modify the file before restoring the permissions to their original settings.

 

The Set Permission is found within the Advanced File Functions of the File I/O section of the Functions Palette.

 

The information below is from the Context Help.

 

R

 

Message Edited by JoeLabView on 09-16-2008 08:07 AM
Message 2 of 2
(2,555 Views)