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 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();