Hi Jim,
thanks for the quick reply.
[quote name='cookjr' date='24 September 2009 - 06:46 PM' timestamp='1253817975' post='66305']
Hi kinimod,
Thank you for taking the time to report this.
I hope we can isolate exactly why it didn't work for you, so the library can be improved for future users. It would be very helpful if you could provide more details about the steps you took to write the data.
- What version of the matio library did you use? Some bugs were found in earlier versions that have since been fixed.
- Did you install using the OpenG package format, or the zip package format?
- What steps did you take to write the array of clusters? A screenshot or some sample code would be helpful here.
- Could you send a sample of your data?
[\quote]
- Version 0.1.6. Should be the most recent one.
- I used the OpenG package and installed it with the VI package manager. My LabView version is 2009 (9.0)
- I simply modified the example VI given by the screenshot in your fist post (see attached image).
- Due to forum limitations i could not upload the resulting 'test.mat', but attached the VI used to create the data.
[quote name='cookjr' date='24 September 2009 - 06:46 PM' timestamp='1253817975' post='66305']
Regarding the waveform data: I think that the waveform data structure is a little different internally than a cluster, although they do some similar things. I don't normally use waveforms, so my original intent was to store them so that LabVIEW could read them back in properly instead of transforming them into something that MATLAB could use (i.e. a timeseries object). Were you able to read the waveform data back into LabVIEW?
[/quote]
Having waveforms as timeseries objects would be nice. But writing arrays of clusters would
already be fine, since converting waveforms to clusters is straightforward.
Writing and subsequent reading of waveforms from LabView works (see attached test_matio_waveform.vi).
Dominik
test_matio.vi 11.69K
292 downloads
Edited by kinimod, 24 September 2009 - 07:52 PM.