English
Forum

Exakte Delay spend

 
- Page 1 -



Web
Scanner
have The Help ready and what found, is for my tack unfortunately not enough.

Sleep n - goes only in ms.

I need Zeiträume The kürzer are and naturally of PC-beat independent are.

example:
between whom Impulsen, The I on my Schrittmotoren give should a Time zwischengesetzt go.
yet have I a simple Zeitschleife program, but the is naturally from the CPU performance
tributary and therefore inaccurate.

means so have I me the virtual:

Loop:
out ( bla Bla)
Sleep 0,01 ms
out (Bla bla)
Sleep 0,01 ms
Schleifenende

goes so not, because n Long Int.
or Have I again what wrong vestanden?


Regards

Web
 
Xprofan X3.1
Win7 auf AMDX6
06/23/08  
 



 
- Page 1 -



Web
Scanner
so goes it naturally, but the Laufzeit is still nevertheless from the Rechnerleistung tributary?
its Yes so, of/ one takes a 1GHz PC for application, another a with 3GHz.
by the detailed Zeitstaffelung can I say the motor turn with 10 Umdrehungen/s.
the corresponds to then different long Fahrwegen/Zeiteinheit.

If PC unterschiedllich quick is, come others Drehzahlen and Lengths out. the I will really avoid...

The kürzeste Zeitschleife The I in momentum have sees so from:

vymax% = 20

PROC Zeitschleifey

Whileloop vymax%
Endwhile

ENDPROC

Regards

Web
 
Xprofan X3.1
Win7 auf AMDX6
06/23/08  
 




Jörg
Sellmeyer
and thereby comes naturally too The speed the Prozessors fully to that carry. with of my method could You a couple Tests on different Systemen manage, circa a half-way optimalen Teiler To detect. it come but yet soviele others things moreover, The The performance bearing, that You well hardly one of system independent performantes Program hinkriegen become.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06/24/08  
 



Jupp, and already is one thereby a manner log to program, or, one Process let[ed] in Echtzeit permanent data and a zweiter Process receiving of these only relevante userMessages. therefore part You Benutzerinterface (UI) of service what you the program so explicit plainer style and is too The letztendliche Abarbeitungsqualität enhance.
 
06/24/08  
 




Web
Scanner
Ahso does it.

Type it ev. an example for so one log and How one something like in Profan einbindet? with something like Have I not yet befasst

Regards

Web
 
Xprofan X3.1
Win7 auf AMDX6
06/24/08  
 



Prozessübergreifende communication with XProfan10, hm - for ought to my pipe-Unit well serve.

ex XProfan11 however are The userMessages gestackt, there would I it by userMessages manage.

Would I You would I however not same so begin now client and server to program, separate first only on the Server rumwursteln. this should first yummy unbeendbar in a Loop your Comzeugs manage, one simple hwnd by cls reicht so this Server first of all simply beendbar is. lay then there solid which Events at all on whom Client gesendet go müssten and send these to that Client. I mean in the Unitpaket have I to an example.

Frag simply to ifs where hakt.
 
06/24/08  
 




GDL
Hi,

with Zeitmessungen (reading/spend) in the under 20ms area and 1% accuracy have I under windows to unzähligen try given.
here clutching simply The Prozeßaufteilung Windows To heavy into Taktgenauigkeit one.

not umsonst having our Labormeßgeräte and my MoBasystem externe Zeitaufbereitungen with Result Send or. Änderungsbefehlen Send.

in the µs area and 5% accuracy went under windows at all nothing.
DOS having hold too its amenities.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
06/24/08  
 




Web
Scanner
Hmm,
thanks for Info.

have I do not bedacht, the it programmtechnisch so simply not goes.
will be I with my creep first weiterwursteln.
The best solution is sure a externe Hardwarelösung with a Zwischenspeicher the The Impulse then too Zeitkorrekt outputs.

Regards

Web
 
Xprofan X3.1
Win7 auf AMDX6
06/24/08  
 




Frank
Abbing
here a roughly secure method the Zeitmessung. Sleep and WM_TIMER weg NT-versions only on 15-16 ms very.
CompileMarkSeparation
 
06/24/08  
 



[offtopic]hehe the xp-script  [...]  is so *eil, with Your o.g. code funtz it to that example integrally inspired. [/CODE]
 
06/24/08  
 




GDL
Hi,

look time here, another of many The with the windows Multitasking Problems having. [...] 

windows is without external Zeitslave almost useless.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
06/30/08  
 



 
- Page 2 -



GDL
here yet something. [...] 

To hither :
========================================
windows is a Zeitscheiben system

windows attempts over ands over again the system To update. Hierdurch becomes The spending the signals on the LPT Port disturbed.
The Motoren get no tidy Ansteuerung and with higher Geschwindigkeiten comes it then To step Verlusten. with niedrigen Geschwindigkeiten hears one already The Aussetzer The duch the Drehmoment the Motoren equalized go can.

remedy creates here a small *.bat File everybody can yet from DOS times Perhaps knows.

echo off
start /realtime NC_FRS.exe

Download
============================================
. Scroll
 
Windows7 Xprofan 8,9,10 [...]  [...] 
06/30/08  
 




Web
Scanner
very Georg,

the program NC-FRS know so did i very well
my Program becomes sure similar, but too quite different his.
The problem the Windowsbetriebssystemes is Yes unfortunately sufficient famous.

Regards

WEb
 
Xprofan X3.1
Win7 auf AMDX6
06/30/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.852 Views

Untitledvor 0 min.
bloniTec06/12/14
Andreas Koch07/11/13
Donnie04/21/13
Robert Hildebrand03/30/12
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie