Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Question

 [1/6] from: philippe::arsenne::club-internet::fr at: 14-May-2003 9:05


I'm trying to learn Rebol especially to make a little application for process control.Ineed to read and write ports (parralel port) Have you got URL or examples for that I'm Philippe Arsenne a french physician dummy in rebol thanks a lot

 [2/6] from: greggirwin:mindspring at: 14-May-2003 2:18


Welcome Philippe! PA> I'm trying to learn Rebol especially to make a little application for PA> process control.Ineed to read and write ports (parralel port) PA> Have you got URL or examples for that Beyond the simple approach for printing (write %//prn ...), I haven't seen anything for interacting with parallel ports. Maybe someone else will know of something. -- Gregg

 [3/6] from: petr:krenzelok:trz:cz at: 14-May-2003 10:06


Philippe Arsenne wrote:
>I'm trying to learn Rebol especially to make a little application for >process control.Ineed to read and write ports (parralel port) >Have you got URL or examples for that > >I'm Philippe Arsenne a french physician dummy in rebol > >thanks a lot >
Hello Philippe, we tried to do some stuff using parallel port. The thing is - Rebol does not support it directly (it does support only standard Serial ports). We got as far as basic nibble and PS2 mode communication and after several weeks we gave up in favor of embedded ethernet + tcp/ip stack (there is plenty of simple enough solutions around) Don't get me wrong - parallel port is the most screwed interface I saw to date - nibble, byte, PS2, EPP (two separate standards IIRC), ECP - each single OS supports it in a different way - if you want to handle ECP or EPP, you have to go for .vxd drivers etc. kind of stuff. So - you either find some fine libraries which do the job for you (and there are some, but sometimes they are too pricey, we used some free io.dll we found on internet) or I suggest you to give up on parallel port and try other interface, and not waste your time with already dead standard ... Cheers, -pekr-

 [4/6] from: philippe:arsenne:club-internet at: 14-May-2003 13:28


I'm very happy to have got your response iwonder if it wouldn't be a good idea to use libraries in C (who exists) cheers -----Message d'origine----- De : [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]De la part de Gregg Irwin Envoyé : mercredi 14 mai 2003 10:18 À : Philippe Arsenne Objet : [REBOL] Re: Question Welcome Philippe! PA> I'm trying to learn Rebol especially to make a little application for PA> process control.Ineed to read and write ports (parralel port) PA> Have you got URL or examples for that Beyond the simple approach for printing (write %//prn ...), I haven't seen anything for interacting with parallel ports. Maybe someone else will know of something. -- Gregg

 [5/6] from: philippe:arsenne:club-internet at: 14-May-2003 13:36


Thank you very much I think you're right when you say that it's a dead standard I've got instruments who use RS232, i'll try that. I wanted to try parallel port because it's rather visible for students (i'm a physics teacher involved in process control) cheers philippe -----Message d'origine----- De : [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]De la part de Petr Krenzelok Envoyé : mercredi 14 mai 2003 10:07 À : [rebol-list--rebol--com] Objet : [REBOL] Re: Question Philippe Arsenne wrote:
>I'm trying to learn Rebol especially to make a little application for >process control.Ineed to read and write ports (parralel port) >Have you got URL or examples for that > >I'm Philippe Arsenne a french physician dummy in rebol > >thanks a lot >
Hello Philippe, we tried to do some stuff using parallel port. The thing is - Rebol does not support it directly (it does support only standard Serial ports). We got as far as basic nibble and PS2 mode communication and after several weeks we gave up in favor of embedded ethernet + tcp/ip stack (there is plenty of simple enough solutions around) Don't get me wrong - parallel port is the most screwed interface I saw to date - nibble, byte, PS2, EPP (two separate standards IIRC), ECP - each single OS supports it in a different way - if you want to handle ECP or EPP, you have to go for .vxd drivers etc. kind of stuff. So - you either find some fine libraries which do the job for you (and there are some, but sometimes they are too pricey, we used some free io.dll we found on internet) or I suggest you to give up on parallel port and try other interface, and not waste your time with already dead standard ... Cheers, -pekr-

 [6/6] from: greggirwin:mindspring at: 14-May-2003 10:39


Hi Philippe, PA> I'm very happy to have got your response iwonder if it wouldn't be a good PA> idea to use libraries in C (who exists) That's always an option of course! One of the great things about using DLLs from REBOL is that you can put a dialect over their functionality in REBOL - in many cases anyway - making them very easy to use. -- Gregg