Rank: 909 based on 154 downloads (last 30 days) and 7 files submitted
photo

Nathan Tomlin

E-mail
Company/University
NIST / CU Boulder

Personal Profile:
Professional Interests:
physics, cryogenic detectors

 

Watch this Author's files

 

Files Posted by Nathan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Aug 2013 rename_files_by_age Automatically rename files by age from a set date. I use it to date pictures and videos of my kid. Author: Nathan Tomlin rename files, file organization 16 0
04 Mar 2011 Screenshot StripChartXY Scrolling XY plot to display streaming data. Author: Nathan Tomlin scrolling display, scrolling scope, streaming data, streaming data displa..., streaming display, dynamic plot 21 2
14 May 2010 DAQmx examples Examples of talking to a National Instruments (NI) DAQ card without the data acquisition toolbox. Author: Nathan Tomlin national instruments, nidaq, daqmx, daq, nicaiudll, nidaqmxh 32 6
  • 4.0
4.0 | 1 rating
12 May 2010 LabJackU3 This function simplifies talking to a labjack U3. Author: Nathan Tomlin labjack, usb, communications 18 1
  • 5.0
5.0 | 1 rating
24 Jan 2010 nonduplicate Makes all values of input array distinct - used to get interp1 to work when x data has duplicates. Author: Nathan Tomlin interpolation, signal processing 25 5
  • 4.0
4.0 | 2 ratings
Comments and Ratings by Nathan View all
Updated File Comments Rating
21 Mar 2014 fixfilename Renames filenames to account for valid characters. Author: Michael Robbins

14 Nov 2013 StripChartXY Scrolling XY plot to display streaming data. Author: Nathan Tomlin

Hi Clayton, I think either method should be the same, using :nPts or :end. I use it regularly showing 10,000 pts without problems, but mostly on older versions of matlab. I'm not sure why you get an error...

20 Dec 2011 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

02 Dec 2011 EzyFit 2.42 A free curve fitting toolbox for Matlab Author: Frederic Moisy

27 Jul 2010 DAQmx examples Examples of talking to a National Instruments (NI) DAQ card without the data acquisition toolbox. Author: Nathan Tomlin

No, I've never used simulink.

Comments and Ratings on Nathan's Files View all
Updated File Comment by Comments Rating
14 Nov 2013 StripChartXY Scrolling XY plot to display streaming data. Author: Nathan Tomlin Tomlin, Nathan

Hi Clayton, I think either method should be the same, using :nPts or :end. I use it regularly showing 10,000 pts without problems, but mostly on older versions of matlab. I'm not sure why you get an error...

06 Nov 2013 StripChartXY Scrolling XY plot to display streaming data. Author: Nathan Tomlin Chu, Clayton

Nice work! I found a bug, I think. The update block has the lines `xnew = new(end-nPts+1:nPts)` and `ynew = ynew(end-nPts+1:nPts)` when `nPts > length(xData)`. The comment says that we only keep the last part of the data when there is more new data than original. Should the vectors extend to `end` instead of `nPts`? I was getting some errors when trying to update large vectors to the stripchart. This could be an upstream problem since you've essentially forked from a different Stripchart function.

21 Aug 2012 DAQmx examples Examples of talking to a National Instruments (NI) DAQ card without the data acquisition toolbox. Author: Nathan Tomlin Armstrong, Alan

I've tried to use your code but every time I try to load the library I get:

Warning: Warnings messages were produced while parsing. Check the functions you intend to use for correctness. Warning text can be
viewed using:
[notfound,warnings]=loadlibrary(...)
> In loadlibrary at 344
In TestDAQCard_1 at 11
Error using loadlibrary (line 419)
There was an error loading the library "C:\Documents and Settings\Administrator\My Documents\PhD\MATLAB\Experiment_2\nicaiu.dll"
A dynamic link library (DLL) initialization routine failed.

Error in TestDAQCard_1 (line 11)
loadlibrary('nicaiu.dll', 'NIDAQmx.h', 'mfilename', 'b') % The lib and h files are both in the matlab path so no need for the
above line(s)

Caused by:
Error using loaddefinedlibrary
A dynamic link library (DLL) initialization routine failed.

I use 'loadlibrary('nicaiu.dll','NIDAQmx.h', 'mfilename', 'b')' since I've added niaiu.dll and NIDAQmx.h to my matlab folder.

can you help?

thanks

26 Jun 2012 DAQmx examples Examples of talking to a National Instruments (NI) DAQ card without the data acquisition toolbox. Author: Nathan Tomlin nico974

Hello, I have to acquire some analog samples over 30 seconds (1 sample every 0.01s). How can I do using a for loop in Matlab ?

20 Mar 2012 nonduplicate Makes all values of input array distinct - used to get interp1 to work when x data has duplicates. Author: Nathan Tomlin R, Venkat

very nice.IT works for me

Contact us