LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DL850 WDF Files reading

My point was that digging into the DL850 driver might yield some insight as to how the waveform file is formated.   You could probably do the whole conversion in LV.  Take for instance WordWaveData Convert.vi.  This vi is takes a single waveform and converts it to an array of DBL's.  One look at this and you know a bunch about the file you're trying to convert.  Can you post a sample waveform file?

Does not need to be a huge file.

Message 11 of 16
(2,407 Views)

Hi,

 

Thanks for the XViewer feature even if I already knew that. It's just that I don't see how I could use it: my software have to take a full (.WVF+.HDR) or .WDF. But even if I think I could open XViewer from LV with a cmd, I can't really tell from LV to XViewer to select a zoom, save as etc...

Moreover, it would add the config datas in the beginning of each split imo.

 

Here are then examples of the two kinds of datas I need to read:

- .WVF+.HDR

- .WDF

 

I'm not sure of what you mean: i tried to read it as sgl arrays, dbl arrays,... the thing is that i'm not sure it reads it the good way. I'm supposed to get a waveform sin with amplitude modulation (waveform "crushed" sometimes). But what i got didn't ooked at all like a waveform, as if i was just taking samples of the waveform but not choosen wisely so they're all on top. But i didn't take any other sampling operation. And the  sampling done by the DL850 is good enough as i can see in XViewer it's really a waveform.

0 Kudos
Message 12 of 16
(2,387 Views)

I get an unexpected error each time I try to upload a .WVF/.WDF file.

 

I'll keep on trying this afternoon.

0 Kudos
Message 13 of 16
(2,382 Views)

Got my hands on the attached .pdf from Yokogawa.  I wonder if your problem is related to the note on 2-1 about the version of .dll vs the version of firmware the created the .wdf file?

 

Pretty sure that binary portion of file is a bunch of I16's that will require a scale factor and offset to be applied.  Scale/offset will be near the beginning of the file, maybe in the header.  Your attachments didn't make it.

0 Kudos
Message 14 of 16
(2,372 Views)

Hi Benjguil,

I would like to point you to the FAQ which addresses your issue:
http://tmi.yokogawa.com/us/service-support/faqs/can-i-use-the-wdf-file-access-api-to-read-wdf-files-...

You can use the Xviewer program (even the trial version) to convert your multiple WDF files into FLD file format. Open the Xviewer program and click on Tool->DL850 Advanced Utility -> File Utility... -> Format Conversion. You will have to upload each of the files into the program.

You should also consider calling Yokogawa Technical Support or visitng the Yokogawa Forum.

http://tmi.yokogawa.com/us/forum/

http://tmi.yokogawa.com
http://tmi.yokogawa.com/us/forum/
Message 15 of 16
(2,350 Views)

Thanks for answering 😃

 

I've seen the page asking for .fld format but once more i got the same issues: Labview crash on application and it's impossible to convert .WDF > 2Gb (And thus splitted) into .FLD files. I was asked to use only .WDF and .WDF > 2Gb are a good percent of the files i have to deal with.

 

I guess i'll follow your advice of asking Yogowa supp and will try to see with my tutor if it's possible for them to use .fld so i can use it in my code.

 

Thx anyway

0 Kudos
Message 16 of 16
(2,335 Views)