Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
b2faf8451a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
24 lines (22 sloc) 949 Bytes
function [ret,data]=atsif_getframe(source, index, size)
%AT_U32 ATSIF_GetFrame(ATSIF_DataSource _source, AT_U32 _ui_index, float * _pf_data, AT_U32 _ui_bufferSize)
%
%
%Description : This function is used to retrieve a single frame in the SIF file.
% The data source is selected using the ATSIF_DataSource
% enumeration which has the following values:-
%
% 0 - Signal
% 1 - Reference
% 2 - Background
% 3 - Live
% 4 - Source
%
%Arguments : source - The enumeration for selecting the SIF file data source
% index - The index of the frame to retrieve
% size - The number of pixels in the float array
%
%Return : ret - Check the help for return code meanings
% data - The array of float data containing all frames in the SIF file
%
[ret,data] = atsifiomex('ATSIF_GetFrame', source, index, size);