[Oberon] How to save a viewer's text as a file
Skulski, Wojciech
skulski at pas.rochester.edu
Wed Jul 13 02:10:00 CEST 2016
Paul:
thinking of possible applications of the FPGA Oberon, these would be easier to develop if the SD card could be read under the workstation OS as a regular SD card. Are there any plans to develop the common file system which would make it possible?
I am not expecting miracles from the unpaid community. I am just wondering how to make the life simpler. The prime reason to develop instruments running the FPGA Oberon OS would be to collect data. The SD card is a wonderful means of data storage, if it can be read outside the Oberon System. Two methods come to my mind: (1) The SD card is formatted in a regular way, like every digital camera would do. (2) Alternatively, there could be a Windows/Mac/Linux application which can open the SD card, display its content, and make it easy to copy the files.
On a more general note, what are the means of easily and efficiently exchanging data between the FPGA Oberon and the workstation world? The accent is on both "easily and efficiently". If I collect a 2GB data file then I would like to easily and efficiently transfer it to the analysis environment. Trickling the file through the wireless or serial is not quite adequate in this case.
What are your thoughts?
Thank you,
Wojtek
________________________________________
From: Oberon [oberon-bounces at lists.inf.ethz.ch] on behalf of Paul Reed [paulreed at paddedcell.com]
Sent: Tuesday, July 12, 2016 6:51 PM
To: ETH Oberon and related systems
Subject: [Oberon] How to save a viewer's text as a file
> To do so, you can click at the lower edge of the menu bar of System.Log
> and insert the text „Edit.Store“ in the menu bar.
> Then click on that command and voila: your System.Log is stored as a file
> with name System.Log.
Edit.Mod's command procedure named Store allows two ways of saving text
(the first IF statement).
Either, the text in the viewer (main frame) of the menu frame containing
the command Edit.Store is saved (which Joerg has engineered above by
adding the command to the Log's menu);
or, the text in the marked viewer (marked by the star pointer, set up by
pointing with the mouse and pressing Ctrl-Z) is saved under the name
parameter of the Store command. You can even make it get the name from
the current selection by specifying the name as "^".
So, as an alternative, you can for example just enter the command
"Edit.Store Result1.Log" in the log (or in any other viewer or tool), mark
the viewer whose text you wish to save under that (arbitrary) name, and
execute the command.
HTH
Paul
PS: As an exercise, work out how much stack and heap space is used to do
the above in the Oberon System, compared with how much resource is needed
to save a text document in your mainstream operating system of choice :)
--
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.inf.ethz.ch_mailman_listinfo_oberon&d=CwIFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=uUiA_zLpwaGJIlq-_BM9w1wVOuyqPwHi3XzJRa-ybV0&m=LPuTSpHPa9C8QVePF2gCfvWFa2hzQmG68Q_wTaCcBJo&s=V7oEVvKgd927-f40LfKKTz36UzxclGTaHKwCvLurEOI&e=
More information about the Oberon
mailing list