Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Re: End or Identify (EOI) character ?

 
 
Adriaan Renting
Guest
Posts: n/a
 
      09-20-2005
You might be able to find more about GPIB under the names IEEE488 and HP-IB.
It's a 8-bit parallel communications bus used in lab-automation. But it's been like 10 years since I used it so I don't remember the specifics. I once wrote a driver for it under windows 3.0.
Most of the communication is indeed human readable ASCII, but there are some extra lines used. On googling I found:
"The five interface management lines (ATN, EOI, IFC, REN, SRQ) manage the flow of control and data bytes across the interface"
in this document:
http://www.techsoft.de/htbasic/tutgpibm.htm?tutgpib.htm

This means that EOI isn't an ASCII character, because it's not transmitted on any of the data lines. You'll probably need to access some specific adress in the GPIB controller, or use it's driver, to get/set the state of the management and the handshake lines.

>>>Donn Cave <> 09/19/05 6:33 pm >>>

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,
--
http://mail.python.org/mailman/listinfo/python-list

 
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
End or Identify (EOI) character ? Madhusudan Singh Python 4 02-14-2013 02:11 PM
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
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
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57