08-27-2007 12:40 PM
08-27-2007 01:19 PM
@DFGray wrote:
"Most customers WANT a text-based configuration file. They want it completely readable.. They want to look at it and they want to be able to edit it."
I personally believe that what customers want is not the first part of that comment, but the second two. However, they think they need the first to get the second, which is incorrect. I
How I wish non-software project managers would read your post!!! 😉 And thanks for the link on HDFView.. I (mostly) agree with you. **My response below is not in dissagreement...**
... back to reality...
Actually, from experience, clients do want the traditional text format. We both know that what they really want is the ability to view content and edit it. When I explain other methods similar to HDF5, they do not feel comfortable. The story I hear most often is that "someone tried somthing like that in the past and we could not support it after he left".. Thus, the text-based on remains. They are very reluctant from against using files that are not text.
Admittedly, I often get called in to "add features and debug" legacy code. I have seen highly disorganized config files, many without headers.. completely ad-hoc.. 😞
Finally, this small nugget has brought a lot of discussion 😉 😄
It appears that there are topics for future nuggets: Alternative methods to configuration files... 🙂
08-27-2007 02:31 PM
08-27-2007 02:38 PM
08-27-2007 02:44 PM
08-27-2007 03:04 PM
Leave it to nuggets to bring out the Lords!!!!!
.... now where's my p-r-e-c-i-o-u-s.... ???
08-27-2007 03:34 PM
LabVIEW, C'est LabVIEW
08-28-2007 06:01 AM
Thanks JPD,
That summarizes most of the issues I had with the example.
For sig figs I was thinking about using the formatting of the control itslef to carry the informantion.
As far as the file format goes, I have to second JLV's comments. I have customers who eyes light up when I tell them the config is in an ini. They are comfortable with ini's.
But extending the file writing part of this...
Mike Porter and I spoke off-line about how this technique can also act as front end to a DB (Is anyone shocked MP would like this idea ) ?
Ben
08-28-2007 06:09 AM
@Ben wrote:
Mike Porter and I spoke off-line about how this technique can also act as front end to a DB (Is anyone shocked MP would like this idea ) ?
No, I'm not shocked.
I actually posted an example today (here) using the OpenG VIs to parse a cluster and build an insert query. I have another one which creates a select query, but I haven't used either of them.
As said there, I think the code was originally based on one of JP's examples, but I'm not sure.
08-28-2007 06:22 AM