PC Review
Forums
Newsgroups
Windows XP
Windows XP Embedded
System Bogging Down
Forums
Newsgroups
Windows XP
Windows XP Embedded
System Bogging Down
![]() |
System Bogging Down |
|
|
Thread Tools |
Rating:
|
|
|
#1 |
|
Guest
Posts: n/a
|
We have successfully built our xpe box and are very happy with it. We
do wonder though why we experience some latency. We use dlportio to check the state of a hardware address (say &h379) and we check the state to see how many changes per second occur there we usually test @ 50 hz. We notice that when we minimize and maximize forms it takes longer to get the pulses( it seems to miss them). Is there something that we can use to sure up these events (real Time Extensions?) TIA Terry H. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Terry,
I'm not sure that I even understand what you are asking, but... You can buy some real time extensions from www.vci.com You can write drivers or you can set high time critical priority for your process and thread. Regards, Slobodan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell Microsoft! https://www.windowsembeddedeval.com...nity/newsgroups ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "TerryW" <prog@vbssys.com> wrote in message news:vt0g80hr4b7hcfj7a3sfj1s54s8fuu6osi@4ax.com... > We have successfully built our xpe box and are very happy with it. We > do wonder though why we experience some latency. We use dlportio to > check the state of a hardware address (say &h379) and we check the > state to see how many changes per second occur there we usually test @ > 50 hz. We notice that when we minimize and maximize forms it takes > longer to get the pulses( it seems to miss them). Is there something > that we can use to sure up these events (real Time Extensions?) > > TIA > > Terry H. |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Terry,
You may also want to read these: http://msdn.microsoft.com/library/e...sXPEmbedded.asp http://msdn.microsoft.com/library/e...rchitecture.asp -- KM, BSquare Corporation > We have successfully built our xpe box and are very happy with it. We > do wonder though why we experience some latency. We use dlportio to > check the state of a hardware address (say &h379) and we check the > state to see how many changes per second occur there we usually test @ > 50 hz. We notice that when we minimize and maximize forms it takes > longer to get the pulses( it seems to miss them). Is there something > that we can use to sure up these events (real Time Extensions?) > > TIA > > Terry H. |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Thanks for the reply,
Sorry that I haven't been more clear. What I am trying to Do is setup a call back timer that alerts me every 10 ms to check a dio point (&H379) parallel port input. I have a square wave generator that produces 25 pulses per second. I seem to miss some pulses when we are moving forms around. I know xpe isn't hardReadTime but this doesn't seem to be asking too much. Am I missing something TIA Terry On Thu, 22 Apr 2004 20:17:51 +0200, "Slobodan Brcin \(eMVP\)" <sbrcin@ptt.yu> wrote: >Terry, > >I'm not sure that I even understand what you are asking, but... > >You can buy some real time extensions from www.vci.com > >You can write drivers or you can set high time critical priority for your >process and thread. > >Regards, >Slobodan > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell >Microsoft! >https://www.windowsembeddedeval.com...nity/newsgroups >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >"TerryW" <prog@vbssys.com> wrote in message >news:vt0g80hr4b7hcfj7a3sfj1s54s8fuu6osi@4ax.com... >> We have successfully built our xpe box and are very happy with it. We >> do wonder though why we experience some latency. We use dlportio to >> check the state of a hardware address (say &h379) and we check the >> state to see how many changes per second occur there we usually test @ >> 50 hz. We notice that when we minimize and maximize forms it takes >> longer to get the pulses( it seems to miss them). Is there something >> that we can use to sure up these events (real Time Extensions?) >> >> TIA >> >> Terry H. > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Yes you have been very clear and I gave you the answers you were and were
not seeking. For increased performance accuracy you should use Win32 API functions: SetThreadPriority, SetPriorityClass Recently someone was seriously (or not) asking if XPe can do real-time 500 ms. (Without missing any signal). There is no answer with 100% accuracy. I mean if you will make head chopper device that if misses one pulse will chop someone's head off then I would say no it is not possible. (You never know what can go wrong disk access or some other thing). But for most well tuned applications (99.9999%) this can be done even for counting up to 50Hz pulses without driver support. But if this is really important to you why don't you make simple driver that is interrupt driven in that case there is no chance on earth that you will miss any of signals at ultra slow speeds like 1000+ Hz or much much higher speeds. Or even you can use some cheap 2$< microcontrollers chips from Atmel or Microchip to do all real time handling. Regards, Slobodan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell Microsoft! https://www.windowsembeddedeval.com...nity/newsgroups ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "TerryW" <prog@vbssys.com> wrote in message news:qocg805d215k0t3g5g6b6ref7p2id30qnp@4ax.com... > Thanks for the reply, > > Sorry that I haven't been more clear. What I am trying to Do is > setup a call back timer that alerts me every 10 ms to check a dio > point (&H379) parallel port input. I have a square wave generator > that produces 25 pulses per second. I seem to miss some pulses when > we are moving forms around. I know xpe isn't hardReadTime but this > doesn't seem to be asking too much. Am I missing something > > > TIA > Terry > > On Thu, 22 Apr 2004 20:17:51 +0200, "Slobodan Brcin \(eMVP\)" > <sbrcin@ptt.yu> wrote: > > >Terry, > > > >I'm not sure that I even understand what you are asking, but... > > > >You can buy some real time extensions from www.vci.com > > > >You can write drivers or you can set high time critical priority for your > >process and thread. > > > >Regards, > >Slobodan > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell > >Microsoft! > >https://www.windowsembeddedeval.com...nity/newsgroups > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > >"TerryW" <prog@vbssys.com> wrote in message > >news:vt0g80hr4b7hcfj7a3sfj1s54s8fuu6osi@4ax.com... > >> We have successfully built our xpe box and are very happy with it. We > >> do wonder though why we experience some latency. We use dlportio to > >> check the state of a hardware address (say &h379) and we check the > >> state to see how many changes per second occur there we usually test @ > >> 50 hz. We notice that when we minimize and maximize forms it takes > >> longer to get the pulses( it seems to miss them). Is there something > >> that we can use to sure up these events (real Time Extensions?) > >> > >> TIA > >> > >> Terry H. > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 


