[Date Prev][Date Next][Thread Prev][Thread Next] - [Date Index][Thread Index][Author Index]
Re: Remote control languages
- Subject: [amsat-bb] Re: Remote control languages
- From: "Ulf Kumm" <ulf@xxxxxxxx>
- Date: Thu, 1 Mar 2001 18:02:00 +0100
-----Ursprüngliche Nachricht-----
Von: "Bruce Bostwick" <lihan@ccwf.cc.utexas.edu>
An: <amsat-bb@AMSAT.Org>
Gesendet: Mittwoch, 28. Februar 2001 22:00
Betreff: [amsat-bb] Re: Remote control languages
> I'm particularly interested in coming up with an ASCII (or ISO)
> readable command language with a universal command set, and a reply
> protocol that allows the radio itself to accept only a subset of that
> command set and reply 'unimplemented' to any command it doesn't
> recognize or that tells it to do something its hardware cannot do.
> This would allow more or less closed loop control over the radio.
Yes, this was what I thought too. If you adress a device via the
bus but the divice isn't present, there is a simple 'bus-watchdog'
machine which generates a timeout message if there is no response
to a command within 1 second.
So, you can simply program, which will never 'hang' due to missing reply:
Device$ = "*P1"
Frequency$ = "00435700000"
OUTPUT COM1, Device$ + "VO" + Frequency$
INPUT COM1, Reply$
IF Reply$ = Device$ + "VO" + Frequency$ THEN
PRINT "OK, Frequency set to " + Frequency$
ELSE
PRINT "something went wrong ...
END IF
73! Ulf, DK9SJ
----
Via the amsat-bb mailing list at AMSAT.ORG courtesy of AMSAT-NA.
To unsubscribe, send "unsubscribe amsat-bb" to Majordomo@amsat.org
AMSAT Home