Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion SmartScopePlot.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
% to see which parameters are exposed by the most recently acquired
% datapackage

import LabNation.DeviceInterface.Devices.*
import LabNation.DeviceInterface.DataSources.*

for i=1:1000
%get latest ChannelData
d = scope.DataSourceScope.LatestDataPackage.GetData(ChannelDataSourceScope.Viewport, AnalogChannel.ChA);
Expand All @@ -34,4 +37,4 @@
xlabel('Time relative to trigger position (s)')
ylabel('Voltage (V)')
drawnow
end
end
3 changes: 3 additions & 0 deletions SmartScopePlotFullAcquisition.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
% to see which parameters are exposed by the most recently acquired
% datapackage

import LabNation.DeviceInterface.Devices.*
import LabNation.DeviceInterface.DataSources.*

% first start the scope
scope.Running = true;
scope.CommitSettings();
Expand Down