Rank: 1097 based on 85 downloads (last 30 days) and 5 files submitted
photo

Grant Lohsen

E-mail
Company/University
Georgia Tech Research Institute

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Grant View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Nov 2012 Audio Equalizer Modify an input signal to match a given power spectral density. Author: Grant Lohsen audio equalizer, spectral shaping, nsd, fft, ifft, psd 31 0
18 May 2012 stlwrite - Write binary or ascii STL file This is an update to the excellent work done by Sven Holcombe to add color support Author: Grant Lohsen data export, data import, mesh, patch, stl, surface 15 0
18 May 2012 Binary STL file reader Update of the stlread function by Francis Esmonde-White to properly implement color reading. Author: Grant Lohsen 3d models, binary, cad, data export, data import, faces 19 0
15 Jun 2011 Merge Structures Merges two structures of equal sizes. Author: Grant Lohsen structure, struct, merge, join, struct array 0 0
15 Apr 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen tdms, convert, gtri, lohsen 20 13
  • 5.0
5.0 | 3 ratings
Comments and Ratings by Grant View all
Updated File Comments Rating
22 Apr 2011 Model3d MATLAB class for reading, viewing 3D dxf and 3ds files. Author: Steven Michael

I can't get this to run on windows. I get the error "??? Undefined function or method 'model3d' for input arguments of type 'char'". I noticed that this includes .mexglx files, and i believe this is linux files. Does anyone have the mexw64 files so I can run this? alternatively, is there a free compiler I can put on my system to compile this?

Matlab R2008b

16 Apr 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen

I think the group functions may not be working properly. If you experience any problems with it let me know. I am trying to determine if there is an error in it.

15 Apr 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen

Mark,
The original file this is based off of (written by Brad Humphreys of ZIN Technologies) supported V1.0 of TDMS, mine supports V1.2. I haven't written one to support v1.1 and have not seen any documentation of the format (v1.2 has format specs online). I hard coded the version restriction so that it would only run on supported version (1.1 is 4712 and 1.2 is 4713).

I may add support for v1.1 in the future but it will be after i incorporate the upcoming v1.2 enhancements to speed and support of comment data.
-Grant

06 Apr 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen

This file is about to face a major update so comments will be supported in imports. Just FYI to check back inside of ~1-2 months (when I get time to update it)

Comments and Ratings on Grant's Files View all
Updated File Comment by Comments Rating
13 Jul 2012 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen Patel, Hari

I tried to read .tdms file(300MB) generated by LabVIEW SignalExpress and I got following error:

10:09:05 Begining conversion of: C:\work\Matlab workspace\Signal Express data\07112012_030159_PM\convertTDMS (1)\Digital_Input.tdms
??? Error using ==> fread
Invalid precision.

Error in ==> convertTDMS at 257
propsValue=fread(fid,1,matType);

Any suggestions?

22 Sep 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen Robert

Version 7 of this function was posted 20 SEP 10 (File ID #28771)

13 Aug 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen Michael

Is anybody going to take a stab at updating this to process TDMS v 2.0 files?

02 Jun 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen Soraya

Has somebody found a way to make it work with the v1.1 format ?
It seems that there are a lot of things to change.
Thanks

17 Apr 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen John

I think this is a much better solution than the dll provided by NI. I've searched extensively and tried a few approaches and this is the closest I've found to a good solution so I really appreciate the work that has been done here. I am having problems getting it to fully work, though. I implemented fix 1 suggested by Alex above and added a few more hacks to get it to run without errors, but in the end none of the data is present in the output. I added a line to remove commas in the fixcharformatlab, and I also had to add a check after line 315 to continue the loop if cnt == 0. If you'd like I could send you my tdms file to help with debugging.

Top Tags Applied by Grant
data export, data import, patch, stl, 3d models
Files Tagged by Grant View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Nov 2012 Audio Equalizer Modify an input signal to match a given power spectral density. Author: Grant Lohsen audio equalizer, spectral shaping, nsd, fft, ifft, psd 31 0
18 May 2012 stlwrite - Write binary or ascii STL file This is an update to the excellent work done by Sven Holcombe to add color support Author: Grant Lohsen data export, data import, mesh, patch, stl, surface 15 0
18 May 2012 Binary STL file reader Update of the stlread function by Francis Esmonde-White to properly implement color reading. Author: Grant Lohsen 3d models, binary, cad, data export, data import, faces 19 0
15 Jun 2011 Merge Structures Merges two structures of equal sizes. Author: Grant Lohsen structure, struct, merge, join, struct array 0 0
15 Apr 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen tdms, convert, gtri, lohsen 20 13
  • 5.0
5.0 | 3 ratings

Contact us