08-03-2007 12:56 AM
08-03-2007 02:11 AM
08-03-2007 03:17 AM
08-03-2007 03:54 AM
08-03-2007 07:30 AM
06-16-2009 11:19 AM
Begin and end each comment line with "\\" characters. Extra carriage return\line feed characters are allowed (to improve readability). I have only tried this on Windows XP so I don't know if it will work on other platforms. Also, I am creating my configuration files by hand in a text editor (rather than generating them programmatically through LabVIEW). However, I am reading in the contents of the configuration files programmatically through LabVIEW.
Here is an example configuration file:
[Button1]
Text=Production Testing
Privileges=Operator,Technician,Admin
VI Path=C:\\C4Test\\Strider\\software\\labview\\Production Testing.vi
[Button2]
Text=Advanced Testing
Privileges=Technician,Admin
VI Path=C:\\C4Test\\Strider\\software\\labview\\Advanced Testing.vi
[Button3]
Text=Maintenance
Privileges=Technician,Admin
VI Path=C:\\C4Test\\Strider\\software\\labview\\Maintenance.vi
[Button4]
Text=Updates
Privileges=Technician,Admin
VI Path=C:\\C4Test\\Strider\\software\\labview\\Updates.vi
[Auxiliary1]
Text=Documents
Privileges=Operator,Technician,Admin
VI Path=C:\\C4Test\\Strider\\software\\labview\\Documents.vi
[Auxiliary2]
Text=Home
Privileges=Operator,Technician,Admin
VI Path=C:\\C4Test\\Strider\\software\\labview\\Home.vi
\\In this configuration file, square brackets enclose each section name. Every section name must be unique.\\
\\Sections contain key/value pairs separated by an equal sign. Within each section, every key name must be unique.\\
\\The key name represents a configuration preference and the value name represents the setting for that preference.\\