08-07-2012 07:48 AM - edited 08-07-2012 07:50 AM
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.
08-09-2012 03:12 AM
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.
08-09-2012 04:30 AM
I get an unexpected error each time I try to upload a .WVF/.WDF file.
I'll keep on trying this afternoon.
08-10-2012 07:01 AM - edited 08-10-2012 07:05 AM
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.
08-16-2012 10:46 AM
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/
08-17-2012 02:36 AM
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