SoftDS
asked on
URGENT Reading Data at very high speed from LPT port
I need to read data from a bycicle-trainig-computer that is transfered via LPT port.
Unfortunatly i do not get much information from the one that has build the hardware.
Only the following:
Pin 13 Cadence (Tretfrequenz)
Pin 10 Power (Drehmomentfrequenz)
Pin 15 und 19 Masse und Schirmung
The computer sends continous as soon as it is on
I already have tried TVicLPT from EnTech (http://www.entechtaiwan.com/dev/lpt/) but looks like i don't understand it enough ... :-(
What i like to get is some sort of sourcecode with a little sample application.
If you need more points ... just ask.
Unfortunatly i do not get much information from the one that has build the hardware.
Only the following:
Pin 13 Cadence (Tretfrequenz)
Pin 10 Power (Drehmomentfrequenz)
Pin 15 und 19 Masse und Schirmung
The computer sends continous as soon as it is on
I already have tried TVicLPT from EnTech (http://www.entechtaiwan.com/dev/lpt/) but looks like i don't understand it enough ... :-(
What i like to get is some sort of sourcecode with a little sample application.
If you need more points ... just ask.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There is a good 32 bit parallel port driver at www.specosoft.com
ASKER
The specosoft driver did not work on my Win2K Prof.
There is not much information about why. Just telling driver could not be loaded.
There is not much information about why. Just telling driver could not be loaded.
With the API Function QueryPerformanceCounter() and QueryPerformnaceFrequency( ) you can get a create µS timer.
but this will slow down you system.
Grüsse aus Hamburg
but this will slow down you system.
Grüsse aus Hamburg
Hallo Dominique,
betr. TretFreq:
Die maximale Tretfreq für die Bewohner des blauen Plantes liegt bei 280 U/Min. Bei Trainings liegt sie meist bei 60-90 U/min
Bei dieser max. Tretfreq. erwartet man also alle 240ms einen Impuls. Also benötigtst du keine 100 Messungen pro ms.
Auf der anderen Seite ist es wichtig herauszufinden wie lange pin13 auf high geschaltet wird wenn ein Impuls gefeuert wird..
Entweder eine kleines Diagrammbasteln und die Werte anzeigen lassen oder einen ossi verwenden.
Grüsse
Ces
betr. TretFreq:
Die maximale Tretfreq für die Bewohner des blauen Plantes liegt bei 280 U/Min. Bei Trainings liegt sie meist bei 60-90 U/min
Bei dieser max. Tretfreq. erwartet man also alle 240ms einen Impuls. Also benötigtst du keine 100 Messungen pro ms.
Auf der anderen Seite ist es wichtig herauszufinden wie lange pin13 auf high geschaltet wird wenn ein Impuls gefeuert wird..
Entweder eine kleines Diagrammbasteln und die Werte anzeigen lassen oder einen ossi verwenden.
Grüsse
Ces
The specsoft driver has a problem loading if you are running from a network drive - try running from your C drive.
ASKER
reading all 2ms is not enough. I need at last 100 samples every ms.
Vor allem muss die Zeit zuverlässig sein. Das heisst immer genau gleich viele
Werte alle x-millisekunden.
...übrigens ... wo steckst du jetzt eigentlich?
Greetings
Dominique