LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create and manage user accounts without DSC

Hi everyone,
I want to create an application where different user are to log in, on at least two different user hierarchy levels. And I don't want to use DSC.

How can I do this? It does not need to be fool proof, I though of simply keeping track of users in a *.ini file, but t would be nice if I could have this file in a not human readable format at least. Or if there are better solutions, please inform me.

Thanks,

//Martin


CLA
www.dvel.se
0 Kudos
Message 1 of 2
(2,530 Views)
If all you need is a binary, hierarchical file format, check out sfpFile (do a search on ni.com). It is a bit low level, but will do exactly what you want.

WARNING: sfpFile is NOT thread safe. If you call two of the VIs from different threads (VERY easy to do in LabVIEW) you will corrupt the file. However, it is pretty easy to keep access to sfpFile single threaded, and the capabilities make it worth it.
0 Kudos
Message 2 of 2
(2,530 Views)