KNOWLEDGEBASE

Item #: 907   |   Created: 1/4/2013
Categories: Oscilloscope - Software, ScopeCorder

Return to Knowledgebase up pointing arrow

Can I use the WDF File Access API to Read *.WDF Files in LabVIEW?

Solution:

No, it is not possible to use the WDF File Access API in LabView to read *.WDF files.

Although LabVIEW can use and access DLLs, there is a special function in the WDF File Access API called WdfGetSacleWave64, which is used to read the data from the *.WDF file. This command uses a pointer, as one of the parameters and since LabVIEW uses clusters, it will run into an error when attempting to run the WdfGetSacleWave64 function. The WdfGetSacleWave64 function is the only way to retrieve and read the data in a *.WDF file.

There is a work around that will allow you to read the raw data in LabVIEW. LabVIEW can read *.FLD file formats.

  1. Save the data in both formats: *.FLD & *.WDF
    OR Convert a *.FLD file from *.WDF using the DL850 File Utility Program in Xviewer
  2. Open LabVIEW
  3. Open the *.WDF file using the File Access API to read only the header information
  4. Open the *.FLD file to read the raw data

Rate This Article

Document Quality?
Answered Your Question?