discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] how to set up a variable after tb.Run()


From: feldmaus
Subject: [Discuss-gnuradio] how to set up a variable after tb.Run()
Date: Sat, 30 May 2009 08:44:42 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi All,

it would be nice to have a possibility in grc to set up a variable which
comes to the end.

Further on i have some wishes to grc:
+it would be nice to send strings to a filesink for example with pickle.
+to set up the sequence of the variables

Also, there is a bug:
i made a variable_0:
self.variable_0 = variable_0 = file('../../../peakdaten.dat','a')
self.variable_1 = variable_1 = cPickle.dump([[time.time()],
[samp_rate],
['../../../peakdetektor1.hex',
'../../../peakdetektor2.hex',
'../../../peakdetektor3.hex'],
['../../../peakband1.hex',
'../../../peakband2.hex',
'../../../peakband3.hex']],variable_0)
and made a second variable_2 to close the file, but it doesn't seems to work:
self.variable_2 = variable_2 = variable_0.close()

I still want to add some infos after my program has finished.

Any ideas ?

regards Markus





reply via email to

[Prev in Thread] Current Thread [Next in Thread]