08-12-2009 09:10 AM
I've just updated to labview 2009 from previous version. The waveform/datalog format has been modified - I now get a "convert/cancel" dialog when an old format waveform is loaded.
For an acquisition application I have under development I have collected several thousand waveform files (in previous LV version) that require post processing and analysis. These require converting to the new format prior to analysis. Is there a batch routine to convert files that I can without need for the "convert/cancel" dialog on each one as this will obviously be very time consuming?
08-12-2009 09:37 AM
Hi andy p,
which function do you use? Can you open the function? Maybe you can connect a true constant to a case structure inside, to solve this problem. If it's a vi.lib vi, then you should copy it before making any changes.
Hope it helps.
Mike
08-12-2009 09:52 AM
Hallo MikeS81
Quick response, thanks.
I am simply using the "read waveform from file.vi" and get the message shown in the attd file.
cheers
A
08-17-2009 10:53 AM
Hello,
If you haven't already solved this, could you attach an example VI and example datalog file. 🙂
Thanks
08-18-2009 03:02 AM
OK I have received a solution for this from NI (credit to James Collins rather than myself).
Conversion of datalog/waveform format can be made silent (ie no dialog box) by modifying the labview.ini file as follows.
Also reference KnowledgeBase article http://digital.ni.com/public.nsf/allkb/2ACC55FFF04EEFAC862565F6006C338D?
Go to Program Files\National Instruments\LabVIEW 2009\labview.ini and add "silentDatalogConvert=True" to the ini file without the quote marks. Once you have added this key, reopen LabVIEW and now the Open Datalog function will automatically do the conversion.
For applications compiled to .exe (from application builder), datalog conversion can also be made silent by modifying the exename.ini (where exename is the name of the compiled application) file with the same "silentDatalogConvert=True" or including the (modified) labview.ini in the application builder build specs.
Note conversion of any datalog files to the new format makes them incompatible with any applications created with previous labview versions, therefore back up files if required.
cheers
A