🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #2288

Use of the ALT statement

#2288
From: davidj
Date: Mon, 14 Nov 1988 09:59
22 lines
1380 bytes
I am trying to use Transputers in real-time for data acquisition from
an experiment. I have 68020 cards in VME which transmit data up
Inmos links using C012 chips. The data is received by two Transputers
(for the moment). I wish to have a 'reliable' system, so I want the
receiving Transputers to 'TIME-OUT' if they havent received data (after
a suitable time-out period). Thus, I can hear you say, this guy wants
to use an ALT

	ALT
	  ... read data from link
	  ... time out gaurd + error recovery

Well this is fine if NO data is received within the time out period.
What happens if a byte (or more) is received and then the 68020 sender
hangs-up ????
According to Inmos App Note 1, and the occam 2 Reference manual there
is a problem, as the ALT will execute the first of its 'ALTs' to become
ready, in this case the input from link, which then never terminates.

So does anyone have any ideas on how to get around this ???

Answers on a postcard please
Technical Details
Message-ID: <878@cernvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!cernvax!davidj
References: <4194@freja.dk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!cernvax!davidj
From: davidj@cernvax.UUCP (davidj)
Newsgroups: comp.sys.transputer
Subject: Use of the ALT statement
Keywords: ALT, help
Message-ID: <878@cernvax.UUCP>
Date: 14 Nov 88 09:59:57 GMT
References: <4194@freja.dk>
Reply-To: davidj@cernvax.UUCP ()
Organization: CERN European Laboratory for Particle Physics, CH-1211 Geneva, Switzerland
Lines: 22