Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   What are you doing different from last year? (http://www.chiefdelphi.com/forums/showthread.php?t=99612)

Joe Ross 10-01-2012 22:29

Re: What are you doing different from last year?
 
Quote:

Originally Posted by jhersh (Post 1101370)
Also look in the LabVIEW for FRC 2012 examples. There is a new example to show how the Configuration File API can be used.

What is the example called?

I didn't see anything in the FRC section that seemed like it. Searching for Configuration found the Write Configuration Settings File and Read Configuration Settings File in Fundamentals\File Input and Output.

jhersh 11-01-2012 02:25

Re: What are you doing different from last year?
 
Quote:

Originally Posted by Joe Ross (Post 1102131)
What is the example called?

I didn't see anything in the FRC section that seemed like it. Searching for Configuration found the Write Configuration Settings File and Read Configuration Settings File in Fundamentals\File Input and Output.

I'm not sure where it is in the example finder, but in the file system it's under examples/frc/file/read and write preferences or something close to that.

Joe Ross 11-01-2012 10:06

Re: What are you doing different from last year?
 
Quote:

Originally Posted by jhersh (Post 1102365)
I'm not sure where it is in the example finder, but in the file system it's under examples/frc/file/read and write preferences or something close to that.

I found it on the filesystem, but not in the example finder. I created a tracker.

SuperS_5 11-01-2012 13:52

Re: What are you doing different from last year?
 
Quote:

Originally Posted by plnyyanks (Post 1101699)
To do this, all you have to do is flatten your data to a string and write that to the INI file, and then read it and unflatten it (just like you would with XML data). The only problem is that you can't read/edit the INI file in a text editor, but that problem is there whenever you use "flatten to string". Attached is some sample code to illustrate what I mean.

The openG INI toolkit does exactly this except it tries to keep the various sections human readable. Any kind of data can be passed to it.


All times are GMT -5. The time now is 20:48.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi