| Read Responses | Return to Index | Read Prev Msg | Read Next Msg |

Slink-e / CDJ Discussion Archive #3

Re: Paralell port on slinke2

Posted By: Richard Malcolm-Smith <richard.ms@i...>
Date: 1/25/1999 8:15p.m.

In Response To: Re: Paralell port on slinke2 (Colby Boles)

it works fine with the slinke lust powered up (Using a 12k pullup) - the voltage swings between 5.04 (inactive input) and 1.1 (active).

If I access the paralell port in any way that is usefull then it either sets the output as high or as low.

I am trying with the following code (Delphi) to set up the port at the moment with no sucess. If I power cycle the slinke then it works fine to read it..

procedure TForm1.FormCreate(Sender: TObject);
begin

Slinkx1.AddDevice('low','lowlevel.cde', 1, 1, $000) ;

Slinkx1.ReportNoMatch := 1

Slinkx1.Send('low', 'parhs[00]') ; //No handshaking...

Slinkx1.Send('low', 'pardir[ff]') ; //All inputs..

Slinkx1.Send('low', 'par[00]') ; //should do nothing, just making sure

(have tried it without this line here as well..)
end;
procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
begin

Slinkx1.DeleteDevice('low') ;
end;

and to read it at the moment I have got....
procedure TForm1.Button1Click(Sender: TObject);
begin

Slinkx1.Send('low', 'parread[]') ;
end;

Responses To This Message

| Read Responses | Return to Index | Read Prev Msg | Read Next Msg |

Password:

Slink-e / CDJ Discussion Archive #3 is maintained by slinke-bbs-owner@nirvis.com with WebBBS 3.21.