Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > End or Identify (EOI) character ?

Reply
Thread Tools

End or Identify (EOI) character ?

 
 
Madhusudan Singh
Guest
Posts: n/a
 
      09-18-2005
Hi

I was wondering how does one detect the above character. It is returned by
an instrument I am controlling via GPIB.

Thanks.
 
Reply With Quote
 
 
 
 
Terry Reedy
Guest
Posts: n/a
 
      09-18-2005

"Madhusudan Singh" <spammers-go-> wrote in message
news:432cb8fd$0$18650$...
> Hi
>
> I was wondering how does one detect the above character. It is returned
> by
> an instrument I am controlling via GPIB.


EOI = chr(n) # where n is ASCII number of the character.
# then whenever later
if gpid_in == EOI: #do whatever

Terry J. Reedy



 
Reply With Quote
 
 
 
 
Donn Cave
Guest
Posts: n/a
 
      09-19-2005
In article <mailman.552.1127021597.509.python->,
"Terry Reedy" <> wrote:

> "Madhusudan Singh" <spammers-go-> wrote in message
> news:432cb8fd$0$18650$...
> > Hi
> >
> > I was wondering how does one detect the above character. It is returned
> > by
> > an instrument I am controlling via GPIB.

>
> EOI = chr(n) # where n is ASCII number of the character.
> # then whenever later
> if gpid_in == EOI: #do whatever


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. GPIB, whatever that is, may support some
configuration options where EOI causes a character output,
but the actual value depends on configuration. The documentation
is probably the place to find out more about this stuff.

Donn Cave,
 
Reply With Quote
 
Torsten Bronger
Guest
Posts: n/a
 
      09-19-2005
Hallöchen!

Donn Cave <> writes:

> In article <mailman.552.1127021597.509.python->,
> "Terry Reedy" <> wrote:
>
>> "Madhusudan Singh" <spammers-go-> wrote in message
>> news:432cb8fd$0$18650$...
>>
>>> 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
 
Reply With Quote
 
rob.irwin rob.irwin is offline
Junior Member
Join Date: Feb 2013
Posts: 1
 
      02-14-2013
GPIB is an old established industry standard for hardware control of instruments. It is defined in IEE 488. It evolved from HPIB.
EOI is a character that is sent at the end of a command to show it is the end (over GPIB or RS232 or LAN etc.). The original question was sensible in that the EOI can be different, depending on the instument. It is normally Carriage Return\Line Feed but can be either just CR or LF or something else (LF may be sent as '\n' etc. depends on language and OS)
Instruments I know of that are not standard are Agilent8703 and Agilent E5260. You'd think as the inventors of GPIB (Agilent spun off from HP) they would be standard wouldn't you?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with switch configuration, ( 3 3550's, 5 2950's end to end ) ec Cisco 3 07-25-2006 10:30 AM
Re: Private LAN: why should the gateway address be at the low end of the range, rather than at the high end. Ted Jones Cisco 11 11-04-2005 05:56 AM
Re: End or Identify (EOI) character ? Adriaan Renting Python 0 09-20-2005 09:18 AM
Measure delay end-to-end Dave Cisco 1 07-20-2004 12:51 PM
is there a difference between CIR and CIR+end to end clear channel connection? ike lozada Cisco 0 05-27-2004 02:34 AM



Advertisments