[Oberon] Re. Oberon DAQ was: User report on LNO

Frans-Pieter Vonck fp at vonck.nl
Mon Apr 25 23:41:48 CEST 2011

Hi Chris,

thanks for your answer.
>From your comment I learn that you are pretty good at parsing texts in
Oberon. I understand that you do not want to loose that skill when using
another operating system.

I'm programming a lpc2138 development board in Oberon07 and I would like
to stick to programming in Oberon also at the desktop site.

I've looked at alternatives.
The rs232 libraries for XDS  I found are directly interfacing to the
windows api, which is a very difficult to understand. Also the .Net
version of Oberon, which should make things easier is not giving me a good

Linux Oberon I did not try-out yet. However as I will attend the talk of
Günter Feldmann http://www.oberonday2011.ethz.ch/talks/ it seems a good
idea to check it out before hand.
Then again, I'm more comfortable with programming for the Oberon Loop than
for linux (Multasking multiuser).

Programming the lpc2138 is a fun learning project for me. There is no
direct professional pressure. Because of work and young kids I need
projects that sort of logically unroll in front of my eyes.  Even when I
did not work for a few weeks on a project I immediatly understand what
I've coded thanks to Oberon.


> Frans-Pieter wrote:
>> This line in your code made me curious:
>> RGtrace.LablVal
>> I wonder if your oberon system works as a dataserver connected to a
> DAQ.
> No knowledge of dataservers. CRGtrace.LablVal is just an external
> procedure to [IIRC] write a string and a number, like: "LoopCountNow=
> 7".
>> I'm looking for an oberon solution to gather data from a rs232 port,
> make
>> a simple presentation and send it trough ftp to a website.*
> So you want to: [decomposing the total task]
> collect rs232 data to a file;
> manually manipulate it;
> send the edited data via ftp,
> where the destination irrelevantly needs to be a 'web site' ?
> This seems to be 3 independant steps.
> And I want to make 2 related comments [which don't immediately
> help solve your problem]:
> 1. this idea of serially-transforming-data, related to compositional
> languages, where each stage is independant is very economical
> of labour, and what I'm trying to morph ETHO towards.
> 2. The stage of "manually manipulate it" is the most important
> and expensive part, and that's where ETHO excels.
>> In the V24 code examples I saw a nice solution to put a task in the
>> oberonloop that reads the uart.
> Why do you need to consider low-level aspects, like UARTs, if
> V24 can do serial transfer.
>> So my idea is to dust an old native oberon machine and install the
>> networking tools.
>> Did you trie out the ftp server lately?
> No.
>> The blackbox/windows, the linux-kst, the LNO or the Bluebottle
>>solutions seem to overcomplicate things.
> The other advantage of the 'compositional' approach is that,
> since the stages are mutually independent, you can do some
> in ETHO and others in linux ...etc., which is well demonstrated
> bellow by Peter's suggestion.
> Peter E. wrote:-
>> If a Mail Transfer Agent, MTA, is running on your Linux
>> system you don't move a text file from ETHO to Linux and
>> then send the emessage from a Mail User Agent in Linux.
>> Your ETHO system sends the emessage directly to the MTA
>> which forwards it to the ISP.  It's just a matter of
>> configuring exim or Postfix properly on the Linux system.
> I like that idea.  Also, if I learned how to network-configure,
> I could do some 'local' testing of eg. send-confirmation,
> instead of dialing into my ISP to test each step.
>> Exim is still the stock MTA in Debian.  I preferred
>> working with Postfix when it was necessary but it was an
>> optional installation.
> This present installation has got 'sendmail' which is
> reputed to be a monster.  I'll try to get some advice
> from the 'network USEnetGroup' how to configure it
> if I fail after reading the man.
> Perhaps I could extent that idea, to have an ETHO-PC
> connect to this Win7-HPnetbook, so that I could have
> inet wireless-connection, during the week, while I'm
> away from from a land line.  The HP-toy has a [looks like
> 8 pin] socket that I think is called a "J<something>".
> If I got a network-card for the PC, could I perhaps interface
> with LEO and let the Win7 thing do the inet transactions?
> Then does the Win7, become a 'router'?
> I wonder if it can do that.
> Communicating between 2 PCs seems more naturally done
> by USB than a network, but I haven't yet found out how to
> do that.
> Thanks,
> == Chris Glur.
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon

More information about the Oberon mailing list