
OrbWaveformSource |
org.ROADnet.OrbWaveformSource |
This actor connects to an Antelope ORB and collects packets matching the
given sourcename, supplying samples from waveform packets to the channels
of the output port. Waveforms encapsulated as GEN and GENC will always go
to channel 0 of the output port. MGENC packets may contain multiple
channels, and the samples are sent to channels 0, 1, 2, ... up to the number
of channels contained. Make sure that the relation connected to the output
port has its "Width" parameter set properly!
Author(s): Tobin Fricke, University of California
Version:$Id: OrbWaveformSource.java,v 1.4 2005/11/01 20:39:05 ruland Exp $
Pt.Proposed Rating:Red (tobin)
output
Samples from incoming waveform packets appear on this port. For
multiplexed packets (eg, MGENC format), the channels in incoming
packets are mapped to the channels of this output port. In that
case you should verify that the "width" property of the relation
connected to this port is set to the expected number of channels.
Also, rather than connecting multiple relations directly to this
port, you should probably use a single "relation" object (black
diamond), so that all of the channels are carried on the same
relation. Then you can use the "Select" actor to access specific
channels.
times
The timestamps for individual samples are output on this port.
It's up to you to ensure that samples and their associated time
stamps are consumed synchronously. At present, this is a single
port and the times correspond to samples on channel zero of
packets reaped from the Orb. Another possibility would be to
demultiplex the times in a way analagous to the way samples
themselves are distributed. Sample times are computed from the
start time given in each packet and the sample rate.
orbname
The name of the orb to connect to, in the format "hostname:port".
Note that orbnames.pf-style names are not supported -- you have
to use a valid IP address or resolvable DNS name, and you have
to use a numeric port number.
srcname
The source name to request from the Orb. When this actor is
initialized, orb.select() is called with the value of this
parameter.