LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is possible save hidden files on labview7.1?

Hi,

I would like save several files on this way... to guard to external guys...


Regards, Fonsi-.
0 Kudos
Message 1 of 9
(3,654 Views)
Hi Fonsi,

There is a great utility VI posted in this thread by Mikael Garcia. I allows you to set the Read Only, Hidden, System, Compressed, Directory and Archive attributes of a file.

I have attached it to this email for your convenience.

Scott Y
NI
Message 2 of 9
(3,640 Views)
Hi Scott,

I am seeing the vi but i didnt get to adjust to my applation...

Could you do a simple example with this vi (i attached), i only want save one file, and be hidden or only opened to my application...

Regards, Fonsi
0 Kudos
Message 3 of 9
(3,634 Views)
The Write to Spreadsheet File has an output called new path. This is the path to the file you specify. Use a Path to String function on File I/O>Advanced File Functions palette and wire this to the file name input of the Call Library Node.
Message 4 of 9
(3,627 Views)
Hi Fonsi,

It looks like Dennis beat me to the answer. Take a look at the block diagram below for an idea how to set your new file to be "hidden". I would also like to point out that "hidden" files on Windows may not really be hidden from the user. In the folder options any user can optionally show hidden files, and hidden files can still be read an modified by users on the computer.



Scott Y
NI

Message Edited by Scott Y on 06-27-2005 04:56 PM

Message 5 of 9
(3,625 Views)


I would also like to point out that "hidden" files on Windows may not really be hidden from the user. In the folder options any user can optionally show hidden files, and hidden files can still be read an modified by users on the computer.
Scott Y
NI



This definitely applies to any computer I happen to work on 😉

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 6 of 9
(3,614 Views)
Thanks,

It is not a lot of useful, since any user could see the file in windows, but good, is better than normal file. :).

Better solution, would be save the file on memory or so and later use this file in the other programs and delete them. Right now, i save the file, use external programs to asemble de file to hexfile, and send to pic, when it is finished i remove the files...
But i think i always need the files, since the external programs need the files to execute the steps...

Regards, Fonsi.
0 Kudos
Message 7 of 9
(3,584 Views)


@Fonsi wrote:
Thanks,

It is not a lot of useful, since any user could see the file in windows, but good, is better than normal file. :).

Better solution, would be save the file on memory or so and later use this file in the other programs and delete them. Right now, i save the file, use external programs to asemble de file to hexfile, and send to pic, when it is finished i remove the files...
But i think i always need the files, since the external programs need the files to execute the steps...

Regards, Fonsi.




Memory files won't work either. You can't share memory between processes. There is shared memory but for this to work both applications need to be build to access the same shared memory buffer, so this wouldn't work for existing external applications (certainly for DOS ones as they have no access to the shared memory pool at all).

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 8 of 9
(3,574 Views)
Thanks Rolfk,

i will leave it away...

Thanks for the advises...
0 Kudos
Message 9 of 9
(3,556 Views)