Re: [Discuss-gnuradio] gr-Trellis FSM

2012-04-02 Thread Chris Valenta
Yep, this fixed the problem. Successfully ran the FSM for 20,000+ times without an error. Thanks for the fix! -Chris --- On Sat, 3/31/12, Achilleas Anastasopoulos wrote: From: Achilleas Anastasopoulos Subject: Re: [Discuss-gnuradio] gr-Trellis FSM To: "Discuss-gnuradio@gnu.org"

Re: [Discuss-gnuradio] gr-Trellis FSM

2012-03-31 Thread Achilleas Anastasopoulos
great catch! It appears that in the constructor we (ie, I) forgot to close the file... I will submit a patch ASAP, but in the meantime, please add fclose(fsmfile); just before generate_PS_PI(); generate_TM(); in the fsm constructor fsm::fsm(const char *name) in gr-trellis/src/lib/fsm.cc

[Discuss-gnuradio] gr-Trellis FSM

2012-03-30 Thread valentac
I've implemented a Manchester Decoder via an FSM using the combined Viterbi algorithm in gr-trellis, and its working great decoding my signal. However, I've noticed that after ~1000 times running (see code), I get an error... what(): fsm::fsm(const char *name): file open error I'd expect this to