[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39504] Instrument contol script only runs onc
From: |
imartinez |
Subject: |
[Octave-bug-tracker] [bug #39504] Instrument contol script only runs once... plot crashes on second run. |
Date: |
Wed, 17 Jul 2013 06:20:06 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 |
URL:
<http://savannah.gnu.org/bugs/?39504>
Summary: Instrument contol script only runs once... plot
crashes on second run.
Project: GNU Octave
Submitted by: imartinez
Submitted on: Wed 17 Jul 2013 06:20:05 AM GMT
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name: imartinez
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.3
Operating System: GNU/Linux
_______________________________________________________
Details:
Not sure what to do about this.
My script to control an HP8510C runs ok the first time, multiple plots,
several generated files are ok.
Everything is closed and cleaned when it exits.
After it finishes the first time, and it runs again... after trying to plot
the second figure....
Calculate, plot and save transimpedance(Zt) (y/n)?? (Enter => n)
Measure, plot and save S21 delay (y/n)?? (Enter => n)
Measure, plot and save S12 delay (y/n)?? (Enter => n)NP_test = 801
error: fputs: invalid stream number = 5
error: called from:
error: /usr/share/octave/3.6.3/m/plot/__gnuplot_drawnow__.m at line 299,
column 1
error: /usr/share/octave/3.6.3/m/plot/__gnuplot_drawnow__.m at line 84,
column 16
error: /usr/share/octave/3.6.3/m/plot/figure.m at line 60, column 7
error: /home/labuser/Windows_drive/Inst_programs/HP8510C_Spar.m at line 225,
column 3
H1=figure(1);
plot(Frequency/1e9,20*log10(abs(S11M)),'b');
grid on;
xlabel('Frequency (GHz)');
ylabel(['S11 ' filename ' (dB)']);
set(gca,'XMinorTick','on','YMinorTick','on');
print(1, strcat('S11_', filename, '.png'), '-portrait');
#LINE 225 is below..
H2=figure(2);
plot(Frequency/1e9,20*log10(abs(S22M)),'r');
grid on;
xlabel('Frequency (GHz)');
ylabel(['S22 ' filename ' (dB)']);
set(gca,'XMinorTick','on','YMinorTick','on');
print(2, strcat('S22_', filename, '.png'), '-portrait');
The only option is to exit octave and run again.... bug???
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39504>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39504] Instrument contol script only runs once... plot crashes on second run.,
imartinez <=