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

[ALLY] Communicate with Comm/Serial ports?

 [1/8] from: gord:raboud:home at: 14-Jun-2001 9:27


Hello Allies; It looks like I will be purchasing a remote control camera soon and have been thinking a lot on building an interface to send camera commands over the serial port to the camera. I have looked in the documentation for 'Comm', 'Serial', 'RS232', and 'Ports' but did not find anything on reading and writing to this port. Can someone give me some clues as to how this is done? TIA Gordon Raboud

 [2/8] from: arolls:bigpond:au at: 15-Jun-2001 14:51


I am looking for documentation and I see that the rebol.org script archive link contains incorrect information. It says that we can go to Rebol.org via Rebol/View: Desktop/Sites/Rebol.org, which is no longer true. Look for Holger's mail on 13-Jun-2001 Subject: Re: using copy with serial ports under Win2000 Which I quote here: ---------------------------- On Mon, Jun 04, 2001 at 01:51:40PM +1000, Chris Wright wrote:
> I'm using a serial port under win2000 > > ser: serial://9600/1/odd/7
Use ser: open/direct/no-wait serial://9600/1/odd/7
> But if, instead of repeated "first ser" I try: > > print copy ser > > I timeout. > > I don't understand why.
This is because by default 'copy waits until end-of-file before returning. Your serial port never creates an end-of-file condition, so 'copy waits indefinitely. If you add the /no-wait refinement to 'open 'copy does not block and instead returns whatever data is available. You may still have to loop and wait though, depending on how your protocol works. -- Holger Kruse [holger--rebol--com]

 [3/8] from: gord:raboud:home at: 19-Jun-2001 10:50


Hello Anton; Thanks for your reply. I don't have Holger's mail on 13-Jun-2001. In fact I have only 5 messages for the entire month of June so far, (T Chang, mine, your reply and two today). This seems a bit strange. What was the subject line in Holger's mail? Thanks for quoting his message - it gives me something to chew on. BTW, did anyone else mention anything about reading or writing to the serial port? On 14-Jun-01, you wrote:

 [4/8] from: gjones05:mail:orion at: 20-Jun-2001 6:41


From: "Gordon Raboud"
> Hello Allies; > It looks like I will be purchasing a remote control camera soon and have
<<quoted lines omitted: 3>>
> and writing to this port. Can someone give me some clues as to how this is > done?
Hi, Gordon, I forgot to respond last week ... sorry. There have been various discussions about serial port access through REBOL. I would suggest perusing the RBEOL mailing list archive looking for "serial". Here is the search url. http://www.escribe.com/internet/rebol/search.html?query=serial Escribe can be reorder by thread once you've clicked on a message. I recall discussions from last November and in March that may be of more help. --Scott Jones

 [5/8] from: arolls:bigpond:au at: 20-Jun-2001 15:44


There are two rebol mailing lists for Rebol/View users: - [rebol-list--rebol--com] - [ally-list--rebol--com] I think you are subscribed only to the second one. The first is supposed to be for /Core issues, but everyone's using it for /view too. This has the bulk of all the emails. Don't miss it. The second is just for /View issues. If you need help subscribing/unsubscribing etc, send a blank text email to [rebol-list--rebol--com] with subject line of "help" (without quotes). (To subscribe, do the same except "subscribe").
> Hello Anton; > Thanks for your reply.
<<quoted lines omitted: 6>>
> did anyone else mention anything about reading or writing to the serial > port?
I'll search some more. Anton.

 [6/8] from: mike:yaunish:home at: 20-Jun-2001 23:00


At 03:44 PM 20/06/01 +1000, you wrote: I am susbsribed to both and only received about 5 emails for June in total as well. Did I miss something?
>There are two rebol mailing lists for >Rebol/View users:
<<quoted lines omitted: 28>>
>[ally-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
Mike Yaunish [mike--yaunish--home--com]

 [7/8] from: allenk:powerup:au at: 21-Jun-2001 17:01


Here is Jim's REP for it, I'm not sure if the current implementation matches this or not. http://www.rebolforces.com/archive/rep/rep004.html Cheers, Allen K

 [8/8] from: brett:codeconscious at: 21-Jun-2001 18:15


Checking my Rebol folder, I've received 1171 messages so far in June 30 of which were from the ALLY list. Did you miss something? Possibly... check escribe.com or if you want I could probably forward them to you. Brett.

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted