Labrador/Old Matlab Interface/seconds_recorded.m

10 lines
245 B
Mathematica
Raw Normal View History

2016-09-07 07:36:43 +01:00
function [returnval] = seconds_recorded()
global saved_waveform_ch1
global scope_mode
if scope_mode == 6 | scope_mode == 7
returnval = (length(saved_waveform_ch1)-750)/750000
else
returnval = (length(saved_waveform_ch1)-750)/375000
end