public class AltTest extends java.lang.Object implements CSProcess
_________ | | | AltTest | |_________|
________________________________________________ | _____ _____ _____ | | | | | | | | | | | Nos | | Nos | | Nos | | | |_____| |_____| |_____| | | | | | | | a v b v c v | | ______|_____ ______|_____ ______|_____ | | | | | | | | | | | FixedDelay | | FixedDelay | | FixedDelay | | | |____________| |____________| |____________| | | | | | | | d v e v f v | | | | | | | +----->-----+ | +-----<-----+ | | __|___|___|_ _________ | | | | g | | | | | |-->--| Printer | | | |____________| |_________| | | | | AltTest | |________________________________________________|
Each of the fixed delay processes have a delay time of 100, 200 or 300 microseconds.
The anonymous CSProcess has an infinite loop which will ALT on the channels d, e & f. When one of these Channels becomes ready with data the process will write the index of the Channel and the data value down the g Channel.
Constructor and Description |
---|
AltTest() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv)
Main entry point for the application.
|
void |
run()
The main body of this process.
|