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

[REBOL] Re: Serial Ports question

From: ryan::practicalproductivity::com at: 29-Sep-2006 11:37

Hmmm, let me guess, 3 wire serial. My best shot is to try to send zeros at the lowest possible baud rate until it eventually decides to wake up. As you probably know, the OS breaks up your transmition, so I wouldnt put high hopes on reliability. It all comes down to the particulars of the design, the only way to if or how well its going to work is to test it, or maybe analyze the schematic. Given the ports idle state is negative (I assume your right), requiring it high for 1 second is a bad design. It simply wasn't meant to be used that way. --Ryan Greg Schwarz wrote:
>Ryan, >Thank you for your input. >The PC com ports are in idle mode (low readly to send a start bit), opening >and closing the port does not change this level. >I can set the com port high (like a very long start bit) if I write it in C >and call it from rebol. >I have noticed the cpu use goes very high when I use call. >Has anyone else seen this? >Regards, >Greg > >>I dont think so, but I really dont know what the awake setting does. >>Classically though, you set the dtr line to do something like that so I >>wouldnt expect it in the protocol handler. As I recall, the TX is high >>(+ voltage) once the serial port is activated, which btw is logic level >>0 on serial ports. So, I would expect to just open the port and wait 1.. >> >>--Ryan >> >>Greg Schwarz wrote: >> >> >> >>>Has anyone got a good list a of the functions with serial ports? >>>I need to put the TX line high for one second to wake up data logger. >>> >>>Below is part of the list of options, is the awake option used for this? >>> >>>timeout: none >>>local-ip: none >>>local-service: none >>>remote-service: none >>>last-remote-service: none >>>direction: none >>>key: none >>>strength: none >>>algorithm: none >>>block-chaining: none >>>init-vector: none >>>padding: none >>>async-modes: none >>>remote-ip: none >>>local-port: none >>>remote-port: none >>>backlog: none >>>device: port2 >>>speed: 9600 >>>data-bits: 8 >>>parity: none >>>stop-bits: 1 >>>rts-cts: false >>>user-data: none >>>awake: none >>> >>>Regards, >>>Greg >>> >>> >>> >>> >>-- >>Practical Productivity Solutions >> >>Tele: 707-274-8226 >>Cell: 707-245-8226 >> >>-- >>To unsubscribe from the list, just send an email to >>lists at with unsubscribe as the subject. >> >> >> >
-- Practical Productivity Solutions Tele: 707-274-8226 Cell: 707-245-8226