[Discuss-gnuradio] Re: A great thing for when you just can't say no to WinBLOWS

2005-02-20 Thread Alberto di Bene
Bob, thanks for the advice. I must confess I am not familiar with pthreads, I have used in my code CriticalSections, WaitForMultipleObjects and SetEvent, and they seem to work. But if there is something to be gained in terms of performance (every little bit counts here...), will give a look at th

Re: [Discuss-gnuradio] using daughterboard IO pins

2005-02-20 Thread Eric Blossom
On Sun, Feb 20, 2005 at 08:17:23PM -0500, Chuck Swiger wrote: > Gang - Is there a trick to using the IO pins? I tried this: > > sink = usrp.sink_c(0,64) > sink.read_io(0) > > and it hangs up. Trying: > > sink.write_io(0,0x) > > gets a segfault and python bails out. Same thing with > > sin

[Discuss-gnuradio] using daughterboard IO pins

2005-02-20 Thread Chuck Swiger
Gang - Is there a trick to using the IO pins? I tried this: sink = usrp.sink_c(0,64) sink.read_io(0) and it hangs up. Trying: sink.write_io(0,0x) gets a segfault and python bails out. Same thing with sink._write_oe(0,0x,0x) - segfault. I need someway to read a morse code key 8^) From w

Re: [Discuss-gnuradio] No better

2005-02-20 Thread Eric Blossom
On Sat, Feb 19, 2005 at 05:47:05PM -, Robert McGwier wrote: > All is well now with one exception, when I > attempt to do things in the "how to do your own module" > I get an error message about the howto module not found > even though I can find howto.py and .pyc in the directory. > I attempte

Re: [Discuss-gnuradio] A great thing for when you just can't say no to WinBLOWS

2005-02-20 Thread Eric Blossom
On Sun, Feb 20, 2005 at 03:25:40PM -, Robert McGwier wrote: > I have just moved all of my software defined radio code > away from the HORRID ABOMINATION that is Windows threading > to posix threads. > > http://sources.redhat.com/pthreads-win32/ > > The heart of the matter for real time code is

[Discuss-gnuradio] A great thing for when you just can't say no to WinBLOWS

2005-02-20 Thread Robert McGwier
I have just moved all of my software defined radio code away from the HORRID ABOMINATION that is Windows threading to posix threads. http://sources.redhat.com/pthreads-win32/ The heart of the matter for real time code is that semaphores, mutexes, and threads are objects that are visible to all pr