End or Identify (EOI) character ?

Torsten Bronger bronger at physik.rwth-aachen.de
Mon Sep 19 12:53:25 EDT 2005


Hallöchen!

Donn Cave <donn at u.washington.edu> writes:

> In article <mailman.552.1127021597.509.python-list at python.org>,
>  "Terry Reedy" <tjreedy at udel.edu> wrote:
>
>> "Madhusudan Singh" <spammers-go-here at spam.invalid> wrote in message 
>> news:432cb8fd$0$18650$14726298 at news.sunsite.dk...
>>
>>> I was wondering how does one detect the above character. It is
>>> returned by an instrument I am controlling via GPIB.
>> 
>> [...]
>
> Which begs the question, what is the ASCII number of the
> character?  I was curious enough to feed GPIB and EOI into
> a search engine, and from what I got back, I believe it is
> not a character, but rather a hardware line that may be
> asserted or not.

Right.  Well, sometimes there are "termination characters" that
denote the end of a message sent from the intrument to the computer
and vice versa, see
<http://pyvisa.sourceforge.net/pyvisa/node17.html>.  They are not
EOI though but \r or \n.

Besides, normally you work on an abstraction level where you don't
worry about the EOI line or any termination characters.  For
example, you work with <http://pyvisa.sourceforge.net>.  ;-)

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus            ICQ 264-296-646



More information about the Python-list mailing list