| |
|
|
- Page 1 - |
|
![Web Scanner: 06/19/08](.././../../i/a/886191887485a3158a01eb.jpg) Web Scanner | Hello XProfan Friends ![](.././../../i/s/qq5.gif)
my first Posting - be here Newbie and I natural haufenweise ask. hope I put me not To on. Bissel program have I already. have in the Search unfortunately nothing found...
I Search a routine, with the I Zeitbegrenzt, z. B. in a Ausgabeschleife The mouse turn off can.
reason: I give over The parallele interface Impulse from. If the mouse moving becomes, go by the interrupts The Impulse disturbed.
hope it can someone help?
greetings
Web ![](.././../../i/s/__upl_ext_1111498551.gif) |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
![Web Scanner: 06/19/08](.././../../i/a/886191887485a3158a01eb.jpg) Web Scanner | Auja - nice ![](.././../../i/s/crazy.gif) Thank you!
very something like have I sought. will be I today time try whether the goes.
Regards
Web |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
![iF: 06/19/08](.././../../i/a/1.gif) | |
|
| |
|
|
|
![RGH: 06/19/08](.././../../i/a/20.gif) RGH | ... and so sees the code to XProfan konvertiert from: CompileMarkSeparationDieser Source stammt von http://www.activevb.de
und kann frei verwendet werden. Für eventuelle Schäden
wird nicht gehaftet.
Um Fehler oder Fragen zu klären, nutzen Sie bitte unser Forum.
Ansonsten viel Spaß und Erfolg mit diesem Source!
------------- Anfang Projektdatei Project1.vbp -------------
--------- Anfang Formular Form1 alias Form1.frm ---------
Steuerelement: Timersteuerelement Timer1
Steuerelement: Schaltfläche Command1
Steuerelement: Beschriftungsfeld Label1
cls
var Command1& = create(Button, %hWnd, Push Me!, 10, 10, 80, 20)
var Label1& = create(Text, %hWnd, , 10, 40, 400, 20)
var cnt& = 0
Def BlockInput(1) !user32.dll,BlockInput
Def &API_FALSE 0
Def &API_TRUE 1
Proc Command1_Click
SetTimer 500
BlockInput(&API_TRUE)
EndProc
PROC Timer1_Timer
Cnt& = Cnt& + 1
If Cnt& > 10
Cnt& = 0
KillTimer
BlockInput(&API_FALSE)
SetText Label1&,
Else
SetText Label1&, Verbleibende Zeit bis zur Rückstellung: + Format$(0.0, (10 - Cnt&) / 2)
EndIf
EndProc
---------- Ende Formular Form1 alias Form1.frm ----------
-------------- Ende Projektdatei Project1.vbp --------------
HAUPTPROGRAMM
-------------
While 1
WaitInput
If Clicked(Command1&)
Command1_Click
EndIf
Timer1_Timer
EndWhile
4 href='./../../function-references/XProfan/end/'>End
Greeting Roland |
|
|
| 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 | 06/19/08 ▲ |
|
|
|
|
![Web Scanner: 06/19/08](.././../../i/a/886191887485a3158a01eb.jpg) Web Scanner | tidy, many Thanks Roland, there Have I now same two mutants to that testing. ![](.././../../i/s/grin.gif)
Regards
Web |
|
|
| |
|
|
|
![GDL: 06/19/08](.././../../i/a/163757696547b07eee29838.gif) GDL | Hi,
I know Yes your Schaltungsdaten not, but have you got Schonmal screen whether The max. frequency with your max. frequency of Schrittmotor übereinstimmt ?
have you got The 20ms Multitasking of windows berücksichtigt ?
have you got with a Oszilloskop your command respected ?
The interface gives only max. 3,3 Volt from.Reicht this for your Circuit?(Eingangsspannung) have you got a tidy Masseverbindung of interface to Motorschaltung ?
have you got a Funk or. Lasermaus ? Störstrahlung into Motorplatine ? exit the Completed: another PC on ?
How big is your momentum/Pausenverhältnis ? How steep are your Impulsflanken ?
If only a thing Grenzwertig is, can The smallest Änderung einwirken.
with such things are Ferndiagnosen always badly.
Hello Georg
P.s. i'd over The interface one Atmel Mikrocontroler only Frequenzänderungen send, this created then the new frequency and gives then tidy Rechteckimpulse the new frequency on your Schrittmotorkarte. |
|
|
| |
|
|
|
![Web Scanner: 06/19/08](.././../../i/a/886191887485a3158a01eb.jpg) Web Scanner | Hello Georg,
soviele ask, The whom core the thing very meet ![](.././../../i/s/__upl_ext_1197232126.gif)
means,
rumble we the whole of hinten on. an Atmelsteuerung is then already the 2.step and integrally sure the professionellste lane. everything else is inaccurate and not 100%, the white I.. but first I will only over windows and the para. interface The expenses make.
my Circuit is of Ostermann:
www.nc-step.de
These Circuit processing The parallelen signals for Schrittmotore.
The max. frequency the Schrittmotoren access I do not. this is neither absolutely the target. Schrittmotore having with high Drehzahl plenty less strength as with less Drehzahl.
20ms Multitasking of windows -- sorry, ähh what's this thing Please?
have you got with a Oszilloskop your command respected ? - yet not, comes but yet dran
Circuit functions 1a. with others Programs already tested
![](.././../../i/s/__upl_ext_1100084240.gif)
Regards
Web |
|
|
| |
|
|
|
![GDL: 06/19/08](.././../../i/a/163757696547b07eee29838.gif) GDL | Hi,
means Schonmal no Eigenbau.
If with others Programs The Circuit goes, lying it on your Übrtragungsprotokoll; speak your Program.
now would interestingly to know, what The others programs on your ticket Send and How the looks what You send .
I can but not present the The others programs something of PC turn off.
Nochwas: with many companies sustain one Ansteuerungsprogrammbeispiele too in a Basicdialekt.have you got something like already ?
Hello Georg |
|
|
| |
|
|
|
![Web Scanner: 06/23/08](.././../../i/a/886191887485a3158a01eb.jpg) Web Scanner | Hi ![](.././../../i/s/smile.gif)
would like only short feedback give. The Sperrung over Blockinput has The thing already definitive correct. ![](.././../../i/s/-amazed.png) thanks on any, for Info. in the momentum hit I I really and its conversion around . Hex in Sting and inverse etc...
I use a OUT(378h,XX) routine. The Parallelportadresse I will by a Variable supplant, I any 3 LPT Ports address - can - would like. I get but ums verecken The 378h not a variable stuffed. knows someone council? ![](.././../../i/s/-cry.png)
Regards
Web |
|
|
| |
|
|
|
![iF: 06/23/08](.././../../i/a/1.gif) | Mach but Please NEN new Thread if itself the Topic roughly changes.
378h is in XProfan $378, if 378h in the string lying can this simply by val($+s) to z.B. float or long transfiguring because the h becomes of val ignoring. finds val one $ first thing characters so becomes it The follow up number as Hex viewing and a dezimalen Return Value zurückliefern. CompileMarkSeparation If you it as Constant in the code have nimmste simply the h hinten lane and setting one $ in front heran - $378. |
|
|
| |
|
|
|
![RGH: 06/23/08](.././../../i/a/20.gif) RGH | Hi,
376h means here a Hexadezimalen worth, in XProfan means $376: CompileMarkSeparation to that Weiterlesen recommended: The XProfan-Help, chapter 7.9 Zahlensysteme.
Greeting Roland |
|
|
| 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 | 06/23/08 ▲ |
|
|
|
|
![Web Scanner: 06/23/08](.././../../i/a/886191887485a3158a01eb.jpg) Web Scanner | super Support , here stay I ![](.././../../i/s/qq8.gif) New Topic is ok. the next becomes extra made ![](.././../../i/s/ja.gif)
thanks for Your Help. becomes tonight probiert. @Roland, without your X-Profan -Help could I really not program. The have I still not enough study and understood ![](.././../../i/s/icon_redface.gif)
greetings
Web |
|
|
| |
|
|
|
![Web Scanner: 06/23/08](.././../../i/a/886191887485a3158a01eb.jpg) Web Scanner | The Tipp of Roland was again the right, goes so correct ![](.././../../i/s/wwww.gif)
thanks & Regards
Web |
|
|
| |
|
|