NeuroNexus SmartBox Instruction Manual page 41

Table of Contents

Advertisement

Auxiliary input data file: auxin.dat
This file contains a matrix of ADC samples from all enabled SmartLink auxiliary input channels in uint16 format. To convert to volts, multiply by
0.0000374.
Although the SmartBox
interface samples the SmartLink auxiliary input channels at one-fourth the rate of the amplifiers, each auxiliary input sample is
repeated four times in this file so that this data may easily be aligned with the timestamp vector in the time.dat file.
If no auxiliary input channels are enabled in the GUI, this file will not be written.
The following MATLAB code reads an auxiliary input data file and creates a waveform matrix with units of volts:
num_channels = length(aux_input_channels);
fileinfo = dir('auxiliary.dat');
num_samples = fileinfo.bytes/(num_channels * 2);
fid = fopen('auxiliary.dat', 'r');
v = fread(fid, [num_channels, num_samples], 'uint16');
fclose(fid);
v = v * 0.0000374;
% convert to volts
Supply voltage data file: supply.dat
This file contains a matrix of ADC samples from all enabled SmartLink supply voltage sensor channels in uint16 format. To convert to volts, multiply by
0.0000748.
Although the SmartBox
interface software samples the SmartLink auxiliary input channels at one-sixtieth the rate of the amplifiers, each supply volt-
age sample is repeated sixty times in this file so that this data may easily be aligned with the timestamp vector in the time.dat file.
% aux input channel info from header file
% uint16 = 2 bytes
NeuroNexus Technologies, Inc. ©2014
Telephone: +1.734.913.8858 | Fax: +1.734.786.0069 |
p.41
| 655 Fairfield Court, Suite 100, Ann Arbor, Michigan USA
support@neuronexus.com
APPENDIX B

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartBox and is the answer not in the manual?

Questions and answers

Related Products for NeuroNexus SmartBox

Table of Contents