LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Datalog file type

Hi,

I have an application written in Labview 4. This application is running
since 1996 and produces datalog files with collected datas.

I now have to rewrite it with Labview 5.1 (or 6) but the datalog file
type of Labview 4 and 5 are not compatible. I can convert them file by
file but I have approx 2000 files to convert. Does anyone have a
solution for converting a large number of files in one time ?

Thanks in advance for your help and best regards


A. Jacot
Developement engineer
University of applied sciences, Le Locle, Switzerland
0 Kudos
Message 1 of 3
(2,842 Views)
Antoine,

I would suggest automating the process. Alas, something LabVIEW is good at.

Place the files in a directory, then, in LabVIEW, create an array of filenames in the directory. Then run your conversion in a for loop based on the filenames.

As I don't have LabVIEW 4 anymore, I don't know how to automate the conversion. However, I would suggest the following. Open the datalog file reading VI from version 4 into your latest version of labview. Save as a .llb, all inclusive, and allow it to be converted. Then, drop this into your VI, and simply read the datalog files with the converted, old version, and write them back using the new datalog file writing utility.

Let us know if this works.

Good luck
0 Kudos
Message 2 of 3
(2,842 Views)
There is a setting you can put in the labview.ini file to prevent conversion
dialogs:

SilentDatalogConvert=True

Jean-Pierre Drolet


"Antoine Jacot" a ecrit dans le message news:
3B98884D.F67AD4D3@eicn.nospam.ch...
> Hi,
>
> I have an application written in Labview 4. This application is running
> since 1996 and produces datalog files with collected datas.
>
> I now have to rewrite it with Labview 5.1 (or 6) but the datalog file
> type of Labview 4 and 5 are not compatible. I can convert them file by
> file but I have approx 2000 files to convert. Does anyone have a
> solution for converting a large number of files in one time ?
>
> Thanks in advance for your help and best regards
>
>
> A. Jacot
> Developement engineer
> University of ap
plied sciences, Le Locle, Switzerland
>


LabVIEW, C'est LabVIEW

0 Kudos
Message 3 of 3
(2,842 Views)