% have different setting for different recording room
% edited on 02/27/2017
while 1
    [~, timeStampArray, locationArray, ~, VTRecsReturned, ~] = NlxGetNewVTData(vt_acq_ent);
    if ~isempty(timeStampArray)
        break
    end
    pause(sample_time);
end
time0=timeStampArray(end);