Rank: 6618 based on 14 downloads (last 30 days) and 1 file submitted
photo

Mark Ward

E-mail
Company/University
University of Birmingham

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Mark
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Jul 2013 GPU vs CPU speed test of finite difference equation Compares the speed of the parallel computing toolbox functions vs CPU for finite difference Author: Mark Ward gpu, diffusion, finite difference 14 0
Comments and Ratings by Mark View all
Updated File Comments Rating
15 Jan 2014 ConvertTDMS (v10) Import a LabView TDMS file into the MATLAB workspace Author: Brad Humphreys

Thanks for the update. simpleConvert reads the file ok now.

13 Jan 2014 ConvertTDMS (v10) Import a LabView TDMS file into the MATLAB workspace Author: Brad Humphreys

Thanks for the quick response!
I'm not deliberately trying to have a channel called 13012014140627VoltageAllData ... I think that it may be auto-generated by labview as it's the date and time of the acquisition. Just putting a letter 'D' in front of anything that starts with a number would be fine. But swapping the starting number to the end is fine too.

13 Jan 2014 ConvertTDMS (v10) Import a LabView TDMS file into the MATLAB workspace Author: Brad Humphreys

ps does it have to have all of the data in ram simultaneously before writing it?
For gathering the readings into a 2d array it looks like combining the
ConvertedData.Data.MeasuredData(jj).Data;
for jj = 3: 2+number of logged channels
will hopefully work. I'm hoping this will still work when the logs are long.

13 Jan 2014 ConvertTDMS (v10) Import a LabView TDMS file into the MATLAB workspace Author: Brad Humphreys

Thanks for this. I've logged 34 channels of voltage data at 1 kHz and I'm trying to read it now.
Using the "simple convert" vi I get the error
Invalid field name: '13012014140627VoltageAllData'.
Error in simpleConvertTDMS (line 60)
dataOb.(safeChannelName{cnum}).Data=convertedData.Data.MeasuredData(cnum).Data;

whether or not I've converted it in labview first. (PS I found that changing the "browse options" property of the output filename control to "new or existing" allowed me to create a new file for the output, as opposed to overwriting an existing file)

I don't get an error using the full version, though it seems a bit tricky to work out where the data is amongst the structures. Is there a simple way to reconstruct the channels of data into a 2d array? Thanks

Contact us