LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.cfg file specification or description

We have used LabVIEW to control a laboratory experiment and collect and store a lot of data from the experiment.  Now I have been tasked to analyze the stored data in a different software environment.  There is a lot of very important metadata about the instrument settings stored in LabVIEW .cfg files and I need to read this metadata into my analysis program.  Is there a specification for LabVIEW .cfg files that tells me their internal structure so I can write a program to read the files and assign the information to appropriate variables in my analysis software?

 

Thanks in advance for your help.

 

- Martin Mark

 

0 Kudos
Message 1 of 4
(2,890 Views)

I haven't heard of any LabVIEW .cfg file.  You probably have just a file that was created in whatever manner the programmer desired.  It could be a text file, it could be binary.  It could have been created with the Config File functions in the File I/O palette.  Those functions create sections and keys of data that when the file is written out, is just a text file.

0 Kudos
Message 2 of 4
(2,887 Views)

It definitely isn't a text file, although if you open it in a text editor you can see text strings (the names of parameters) embedded in the file followed by the parameter values, apparently in binary.  There seem to be some sort of binary delimiters between parameter values.  I'm told the guys who ran the experiment wrote out the file using a single standard LabVIEW command.  I'll check to see what command it was and to see if they changed the extension.

 

- Martin

 

0 Kudos
Message 3 of 4
(2,878 Views)

if you are not a LV developer then we would be better able to help you if you...

 

1) Provided the code used to write the file.

 

2) Produce an image of the code used to write the file.

 

if they flattened a cluster to a string then the actual code may be required.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(2,870 Views)