Autor Beitrag
amplifier
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Di 08.04.03 16:27 
Hallo!
Weiß jemand wie ich logische Signale an der parallelen Schnittstelle ausgeben bzw lesen kann???

Gruß Horst
Adrian
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 314



BeitragVerfasst: Di 08.04.03 22:12 
Titel: Parallelport
Hallo,

das geht recht einfach, sofern Du nicht NT,2000 oder XP verwendest.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure TForm1.Button1Click(Sender: TObject); 
begin 
  asm 
    mov dx,378h   // LPT1 auf 378H 
    mov al,0      // Ausgabewert 0...255 
    out dx,al 
  end; 
end;


Servus,

Adrian
amplifier Threadstarter
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Mi 09.04.03 12:31 
Titel: XP
Danke erstmal. Aber ich nutze XP!! Gibts dafür dann auch eine Lösung??
Gruß Horst
Adrian
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 314



BeitragVerfasst: Mi 09.04.03 15:13 
Titel: LPT mit XP
Hallo Horst,

google mal nach IO.DLL
Experimente mit C++ verliefen erfolgreich, bei Delphi bin ich noch nicht so weit, aber es soll auch funktionieren. Kannst ja mal versuchen und ggfs. Erfolgsmeldung posten.

Gruß,

Adrian
Stino
Hält's aus hier
Beiträge: 14



BeitragVerfasst: Mi 09.04.03 16:53 
Hi, für io.dll findest du was auf

www.geekhideout.com/iodll.shtml und www.southwest.com.au...r/delphi/delphi1.htm .

Für Parallelport allgemein wirst du vielleicht auf

www.torry.net/portaccess.htm fündig.

ciao, Carsten
Niels_
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 117



BeitragVerfasst: Di 23.09.03 18:30 
Kannst du nicht einfach die Kompatibilität auf Win95 stellen?!! Dann müsste das auch klappen!
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Mi 24.09.03 11:00 
Ich glaube nicht, denn da Xp ja ein NT Abkömmling ist wird definitiv jeder direckter Hardwarezugriff unterbunden, dass meine ich jedenfalls :wink:
SMI
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 106

Win95-2003 / Debian / Suse
D1/D3/D6/D7
BeitragVerfasst: Fr 26.09.03 02:02 
könnte dir ggf. helfen

www.lvr.com/parport.htm#Programming

SMI

_________________
Wenn es im Jahre 1879 schon Computer gegeben hätte, würden diese vorausgesagt haben, daß man infolge der Zunahme von Pferdewagen im Jahre 1979 im Pferdemist ersticken würde.
(John C. Edwards, brit. Zukunftsforscher)
Spurius
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 142

Win XP Home
D3 Prof, D7 Prof
BeitragVerfasst: Sa 21.02.04 12:18 
Der Beitrag ist zwar schon älter, aber ich hab dazu ne Frage:
Wie kann ich mit der IO.DLL z.B. Pin 1 wieder low setzten?
High-setzten ist ja: PortOut(888,1);
Gruß
Spurius