From 5b2baea33461446233510507c06758ac5dac7198 Mon Sep 17 00:00:00 2001 From: jadafi <42349344+jadafi@users.noreply.github.com> Date: Fri, 1 Feb 2019 11:49:20 +0100 Subject: [PATCH 1/2] Update SmartScopePlot.m --- SmartScopePlot.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SmartScopePlot.m b/SmartScopePlot.m index e1fcd82..cf8b1d0 100644 --- a/SmartScopePlot.m +++ b/SmartScopePlot.m @@ -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); @@ -34,4 +37,4 @@ xlabel('Time relative to trigger position (s)') ylabel('Voltage (V)') drawnow -end \ No newline at end of file +end From 966814c6e701caf7a3fa4e07056a5e90093b23a4 Mon Sep 17 00:00:00 2001 From: jadafi <42349344+jadafi@users.noreply.github.com> Date: Fri, 1 Feb 2019 11:50:30 +0100 Subject: [PATCH 2/2] Update SmartScopePlotFullAcquisition.m --- SmartScopePlotFullAcquisition.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SmartScopePlotFullAcquisition.m b/SmartScopePlotFullAcquisition.m index 016ec47..7b2e6cb 100644 --- a/SmartScopePlotFullAcquisition.m +++ b/SmartScopePlotFullAcquisition.m @@ -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();