Commit Friday evening.
PDFA and EXFO Laser are now part of the family
This commit is contained in:
@@ -176,7 +176,11 @@ classdef AwgKeysight
|
||||
% The waveform granularity is e.g. 128. This means that the waveform length must be a multiple of this granularity. The minimum waveform length is 128 samples.
|
||||
if rem(length(signal{s}),obj.waveformGranularity) ~= 0
|
||||
signal{s} = [signal{s} signal{s}(:,1:(obj.waveformGranularity-rem(length(signal{s}),obj.waveformGranularity)))];
|
||||
warning(['data should have a length multiple of ',num2str(obj.waveformGranularity),'!']);
|
||||
|
||||
debug = 0;
|
||||
if debug
|
||||
warning(['data should have a length multiple of ',num2str(obj.waveformGranularity),'!']);
|
||||
end
|
||||
end
|
||||
|
||||
% Digitally apply skews to the signals
|
||||
|
||||
Reference in New Issue
Block a user