diff options
Diffstat (limited to 'E440a_take_data.m')
-rw-r--r-- | E440a_take_data.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/E440a_take_data.m b/E440a_take_data.m index e62a2fe..112e8b6 100644 --- a/E440a_take_data.m +++ b/E440a_take_data.m @@ -128,7 +128,8 @@ sweep_time_string = query(obj1, ':SENSE:SWEEP:TIME?'); %% Disconnect from instrument object, obj1.
if ispc
-fclose(obj1);
+ % windows needs to close the file
+ fclose(obj1);
end
%disp('Spectrum Analyzer data communincation is done');
|