Can LabWindows libraries call function inherited from read the Datalog file?

We are currently updating some old software written in LabVIEW 6.0.3 to Java. One of the features of the original software is to create data files using the function "Write Datalog" and also remind these databases later using 'Read Datalog'.  To maintain backward compatibility with old data users, we want that new software to also be able to read and display the old datalogs.  I have read several posts here about how the only way to get data off datalogs uses the function 'Reading Datalog' of the same version of LabVIEW to write the paper in the first place. I have the original LabVIEW code so I don't know the structure of the data that has been written.

I want to know if there is the same function in LabWindows libraries.  Specifically is there is no support for a 6.0.3% version of the function of reading Datalog to support interfacing with a call to java?

To knock out a possible solution, this software is shared with clients.  We want to avoid the way of compiling an executable separated from LabVIEW to be distributed with the main Java software which batch processes all the old data files in reading them with the old function of LabVIEW and spitting out files in a new format.  We would prefer for the old files to be transparent open into the new software.

WARNING: I use LabVIEW for dark days before the invention of the button cancel, but never touched LabWindows/CVI. Please enter slowly so I will understand

Thank you all!

I guess that is not a built-in library capable of reading files datalog LabVIEW simply because they do not have a fixed format... Even in LV, you will need to pass the data structure for the opening function in order to be able to read the data back.

Searching the forum I found this discussion that can give you useful to begin with.

Apparently, you need detect the beginning of the section of the data file after the initials "DTLG" and rest of the header (which is the part not documented). After this point, read the file should be simple if you know the data structure the program writer used. The data > storage section of LabVIEW help can give you information about the content of the memory of each type of data used.

A simple test, I did write the clusters with a string and an integer shows that: 1. section of data begins at offset 0x22F; 2. the cluster is poured into the file preceded an int with the length of the string; 3. documents may have a variable length according to the length of the string; 4. There are no bytes of padding between elements of the cluster; 5. records are packed in the file consecutively.

I did this test using LabVIEW2009: it is possible that older files of LV are structured differently.

An alternative to this is to generate a DLL in LabVIEW that reads files datalog and passes their content to the appellant. Since you are experienced in LV, you are certainly more comfortable than me by doing this.

Tags: NI Software

Similar Questions

Maybe you are looking for

  • Portege R700 - what is the function "drive optical auto lock?

    On my R700 (Windows 7) I see an icon in the taskbar that shows that my optical drive is on or OFF. I can turn this with Fn - TAB. If the context you click the icon, it offers you "drive optical auto lock ' and a 'time of unlocking settings' - what do

  • E/s network device Usermode and ConfigFree protocol error

    I have a Toshiba laptop and recently it has not started properly, displaying the following message: "Not found TOSHIBA Network Device Usermode i/o Protocol. Please reinstall ConfigFree. OK ". I'm unable to use the laptop and it will not close without

  • problem of cmd 2 k 8

    Hi... I am using 2 k 8 version.there of the trial is a matter related to the command prompt. ipconfig, ping, these orders are not executed its says command not found is not recognized as internal or external command. can someone help me pls & sorry f

  • All OfficeJet 6500 E709a printhead replacement

    I can jump the electrical contacts cleaning while changing a printhead on an Officejet 6500 E709a? Following the instructions from HP to change.  Step 6 of the instructions States, "clean the electric contacts. The replacement print head set comes wi

  • Trigger headless on notification to the Hub

    I want to know it's possible when headless request give notification of Hub, then all by showing that the notification as instant notification on site bar, how can I add feature that's so I click this instant notification it trigger pre declare the f