🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by Robert Kieffer Tue, 26 Jan 1993 00:14
<Help> Problems with multiple DPSTimedEntries...
#2326
Author: Robert Kieffer
Date: Tue, 26 Jan 1993 00:14
26 lines
1586 bytes
Hi folks,

I've run into a problem while using more than two DPSTimedEntries...

I'm setting up a program that samples data from the DSP and subsequently  
displays it in multiple views (ten to be exact). I'm using a single  
DPSTimedEntry to call the routine that samples data from the DSP and a  
DPSTimedEntry to call the display routine for each view (one entry per  
view)... hence, eleven DPSTimedEntries in all.  I do this to distribute  
the display of the views, so that I don't have large gaps in the sampling  
of the DSP.

Anyway, the DPSTimedEntry for sampling the DSP sets up fine, as does the  
one for my first view that I'm displaying in... but the subsequent 9  
DPSAddTimedEntry calls return "0" (not "-1" as the documentation says it  
should in the event of an error). The display objects/code are contained  
in a nib file that I load at run time for each of my 10 views(windows), so  
I'm pretty sure that I'm doing everything identically for each of the  
views... but only the first one works.

Is there a limit to the number of timed entries that an application can  
have?  Has anyone run into this problem before?

Thanks,
Robert Kieffer
kieffer@spf.trw.com
Re: <Help> Problems with multiple DPSTim...(Please ignore original post)
#2393
Author: Robert Kieffer
Date: Tue, 26 Jan 1993 17:16
16 lines
873 bytes
I wrote:
> Hi folks,
> 
> I've run into a problem while using more than two DPSTimedEntries...
>

[etc...]

Just when I thought it was safe to take my foot out of my mouth...

My apologies... I had my timed entry state variable declared as a class  
variable instead of as an instance variable.  Problem solved!

Thanks,
Robert Kieffer
kieffer@spf.trw.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads