MATLAB: Imaqmontage(data); question about this code

Image Acquisition Toolboximage processing

My settings are:
obj.FramesPerTrigger = 5;
obj.TriggerRepeat = 2;
so that i have
obj.FramesAvailable =15;
then i have
data = getdata(obj); % access the logged data
imaqmontage(data); % Display each image frame acquired
my question is why i only get 5 pictures shown in matlab?(should be 15 pictures…)

Best Answer

data = getdata(obj,samples)
samples - The number of samples to extract. If samples is not specified, the number of samples extracted is given by the SamplesPerTrigger property.
data = getdata(obj,15);