English
Forum

Einparken during ungenutzter Loop

 
- Page 1 -



Erasmus.Herold
Hallöchen ...

The following Phänomen falls me since Meet with one XProfan X3 Program on. there's a simple WHILE Loop, moreover To Beginn in the Loop one WAITINPUT. subsequently becomes in the Loop grasped, whether someone mouse or keyboard uses and properly in large Proceduren verzweigt.
places one at works a interval one, depends the program on the WAITINPUT and wait. becomes the program now a half-way hour not used, we it extreme slow, How in Zeitlupe. others Windowsprogramme are not concerned and this XProfan Program runs to one Neustart again tidy.
During the Wartens filling itself no counter or Variable, therefore The question, knows someone Problems in the Context with a Waiting over WAITINPUT in a WHILE Loop?

Greeting and Thanks
Erasmus
 
03/13/16  
 



« this Posting watts as Solution marked. »


Erasmus.Herold
Hallöchen ...

have once more different Approaches examined. find presently but none Ansatz.
with the feedback, "es lying not on WHILE and WAITINPUT" be I then first once pleased.

thanks - Topic can closed go.
Erasmus
 
04/01/16  
 




Matthias
Arlt
so blanket will the hardly answer let...
i'd first of all times the Speicherauslastung in the eye keep, circa possible Lecks in the program to ascertain or. auszuschliessen.

Greeting Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
03/13/16  
 




Jörg
Sellmeyer
could you the time in a Codebeispiel document?

If it is correct, that the program during the Wartens in the WaitInput Resources verbrät, should already this Codeschnipsel The equal Results show:
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/13/16  
 




Matthias
Arlt
@Jörg
Yes very...bestechend simply...

@Erasmus
...time something moreover in that detail...
On which point ermittelst Thou mouse- or keyboard-Use ?
(The globale Tastaturpuffer crop itself bspw. not around the 'waitinput' Your Program...)
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
03/14/16  
 




Erasmus.Herold
my Source sees so from ... (slight minimizes)
we a hour not on the Program worked, becomes everything slow and can itself only by the terminate the program and which Neustart to fix. others parallel ongoing windows-programs itself of these "Einparken" not concerned.

Source:

MenueSchleife% = 0
WhileNot MenueSchleife%
WaitInput
If Clicked(programmende%)
goto "Ende"
EndIf
EndWhile

Greeting and Thanks
Erasmus Herold
 
03/16/16  
 




RudiB.
statement from the Profan-Help:

Sprünge from creep and Procedures out and ebensolche in creep and Procedures into lead zwangsläufig To Programmfehlern and Überlauf the GoSub-, While- or. Prozedure-Stacks. the Program would in the best drop with a Info on To deep Verschachtelung Cancel! Das GoTo ought to completely vermieden go, there it the strukturierten and verständlichen Programming entgegensteht. Also becomes the GoTo likewise How the GoSub explicit slower worn out as The übrigen Program-Structures.
could Yes on it lying ??
I probier your Sourcecode time...time schaun what happens...
 
Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
03/16/16  
 




Jörg
Sellmeyer
this is Yes in the principle "mein" Codebeispiel. zurück there because with you objectively The Error on?
Mach the still time run and teste the Please. I can hardly present, that there what Ungewöhnliches happens.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/16/16  
 




RGH
The gepostete Source is so not run. bring please times one lauffähiges (!) example, with the the vermutete Error appears. then can I it by me understand and possible Speicherfresser enttarnen and correct!

by me is so a problem nocjh never aufgetreten. (where I admit must, I except Browser, Email- or Backup-Program seldom programs for hours walk let.)

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
03/16/16  
 




Erasmus.Herold
thanks for eure Rückmeldungen.

1. the goto "xy" use I only on this place at real End of program. becomes means only one einziges time carryed out, if the User the program closes. otherwise follow always tidy Proc-Aufrufe.

2. Source entire and run post. my Program comprising beinahe 2000 Lines Source. there this program on RFID-hardware (Reader) zugreift, be I do not sure, whether the in another surroundings nachstellen can. one show my Tests however. If I the program starte and yet no Lesungen made have, runs The routine to the Waitinput and nothing schaukelt itself high. watts but at least one Karton merchandise through RFID gescannt, becomes the XProfan Program slow, if the User sometime a interval (ex 15 mins) einlegt. too here's ensured, that the program in none the Procs More on the way is, separate in the abgebildeten Loop to the Waitinput standing.
 
03/24/16  
 




RGH
then soltest You time from Your Program one small (!), but lauffähiges Beispielprogramm extract, with the the Error appears. or You erweiterst obigen code so, that it run and is one understand can, that it sometime "einschläft". otherwise can it indeed on anything else lying and must quite nothing with a Bug in XProfan to do having. without whom vermeintlichen bow nachzuvollziehen, becomes you unfortunately nobody help on can.

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
03/24/16  
 




Erasmus.Herold
Hallöchen ...

have once more different Approaches examined. find presently but none Ansatz.
with the feedback, "es lying not on WHILE and WAITINPUT" be I then first once pleased.

thanks - Topic can closed go.
Erasmus
 
04/01/16  
 




Jörg
Sellmeyer
[OFFTOPIC]You can so a Thread yourself anytime on "erledigt" settle (s. u.). If you later again on it get back want, is the free from problems possible. You can here simply go on and the Mark cancel (or not...)[/OFFTOPIC]
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
04/01/16  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

17.909 Views

Untitledvor 0 min.
Jörg Sellmeyer05/15/18
Peter Max Müller10/22/17
Tango09/03/17
p.specht01/04/17
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