Code covered by the BSD License  

Highlights from
Shimmer MATLAB Instrument Driver

Be the first to rate this file! 18 Downloads (last 30 days) File Size: 1.25 MB File ID: #36529
image thumbnail

Shimmer MATLAB Instrument Driver

by

 

04 May 2012 (Updated )

Object oriented solution for Shimmer sensor data capture directly into Matlab

| Watch this File

File Information
Description

Object oriented solution for Shimmer data capture directly into MATLAB. Provides for full configuration functionality to set features such as sampling rate, accelerometer range and which sensors are enabled/disabled. Also provides solutions for low battery warning and 3D orientation estimation. Allows for simultaneous data capture of both raw data and calibrated data from multiple Shimmer units. Includes example .m scripts which demonstrate the use of the ShimmerHandle class including plotting of data and writing data to a file. Includes documentation and help info.

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Other requirements Realterm version 2.0.0.57
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
02 Jul 2014 Shimmer Engineering Team

A reminder that this version of the Shimmer Matlab Instrument Driver is deprecated and should not be used for new development. Please use http://www.mathworks.co.uk/matlabcentral/fileexchange/43712-shimmer-matlab-instrument-driver.

Best regards,
Shimmer Engineering Team

09 Oct 2013 Shimmer Engineering Team

This repository has been moved to http://www.mathworks.co.uk/matlabcentral/fileexchange/43712-shimmer-matlab-instrument-driver

13 Sep 2012 Jong Chern

Hi Yasmin,
The error occurred because User Account Control settings were not set appropriately.

Best Regards.

03 Sep 2012 Yasmine Tamimi

I have opened the realtime serial program and under PORT tab I changed my port# to 7. It started working but with new errors:
>> plotandwriteexample('7', 30, 'testdata.dat')
Warning: Timed-out on wait for acknowledgment byte on Shimmer COM7.
Warning: Inquiry command response expected but not returned for Shimmer COM7.
Warning: Timed-out on wait for acknowledgment byte on Shimmer COM7.
Warning: Timed-out on wait for acknowledgment byte on Shimmer COM7.
Warning: Timed-out on wait for acknowledgment byte on Shimmer COM7.
Warning: Failed to receive response from Shimmer inquiry for COM7, disconnecting Shimmer.

03 Sep 2012 Yasmine Tamimi

Thanks a lot for the m-files. I having some errors while running them. I pasted my error below:

>> plotandwriteexample('6', 30, 'testdata.dat')
??? Error using ==> actxserver at 91
Server creation failed. Invalid ProgID 'realterm.realtermintf'

Error in ==> ShimmerHandleClass>ShimmerHandleClass.initialiserealterm at 3265
thisShimmer.Hrealterm = actxserver('realterm.realtermintf');
% Start Realterm as a server

Error in ==> ShimmerHandleClass>ShimmerHandleClass.opencomport at 3282
initialiserealterm(thisShimmer); %
Define and open realterm server

Error in ==> ShimmerHandleClass>ShimmerHandleClass.connect at 1185
isOpen = opencomport(thisShimmer);
% Attempt to establish a connection by opening the comport

Error in ==> plotandwriteexample at 42
if (shimmer.connect) %
TRUE if the shimmer connects

I would like to add that I have downloaded the realterm app.

Please advise regarding the error, why is it appearing? how to fix it and make it work? Thanks a lot in advance.

03 Sep 2012 Yasmine Tamimi

I would like to add that I have downloaded the realterm app.

Updates
04 Sep 2012

The full release includes functionality for data calibration, notification of dropped packers and some minor bug fixes.

26 Oct 2012

Bug ID. 1.1.1
Bug Description: Any sampling rate above 255Hz is stored as 255 when an inquiry is done.
Bug Status: Fixed.

23 Apr 2013

- Battery Monitoring
- Supports the new BTStream firmware which allows Low Battery Notification via LED, and provides support for saving and retrieving ECG and EMG parameters from a Shimmer device

23 Apr 2013

-Supports the new BTStream firmware which allows Low Battery Notification via LED and provides support for saving and retrieving ECG and EMG parameters from a Shimmer device
-Supports Battery Monitoring

25 Apr 2013

Now supports Battery Monitoring and the new BtStream firmware which allows Low Battery Notification via LED and Provides support for saving and retrieving ECG and EMG parameters from a Shimmer device.

27 Jun 2013

New configuration options for magnetometer data rate and range; solution for 3d orientation estimation, along with sample code for a graphical display visualising the 3d orientation; motion detection and gyroscope in-use offset calibration.

Contact us