UnitDelay
Delays a signal by delay_length samples.
Processing
- Samples are stored in a buffer of delay_length; each new input outputs the sample received delay_length samples earlier.
- The output carries the timestamp of the sample just received (the value is the one received delay_length samples earlier).
- For the first delay_length samples, zeros of the same length as the input are output.
Usage
- Typical inputs:
data_vectorizer.o_data→input. - Typical outputs:
output→GeoDistance.target_geoPoint.
Data format
- One input/output pair of the type selected by data_type is created; vectors are supported.
- The vector length may change from sample to sample, up to the buffer size of the first sample; a delayed sample keeps its own length.
- delay_length must be 1 or more.
Properties
| Name | Default | Description |
|---|---|---|
delay_length | 1 | Delay in number of samples (1 = one-sample delay). |
data_type | Int8 | Data type of the input and output. Options: Int8, Int16, Int32, Int64, Uint8, Uint16, Uint32, Uint64, Float32, Float64. |
Outputs
| Name | Description |
|---|---|
output_int8 | Delayed signal (present when data_type = Int8). Type: Integer8 |
output_int16 | Delayed signal (present when data_type = Int16). Type: Integer16 |
output_int32 | Delayed signal (present when data_type = Int32). Type: Integer32 |
output_int64 | Delayed signal (present when data_type = Int64). Type: Integer64 |
output_uint8 | Delayed signal (present when data_type = Uint8). Type: UInt8 |
output_uint16 | Delayed signal (present when data_type = Uint16). Type: UnsignedInteger16 |
output_uint32 | Delayed signal (present when data_type = Uint32). Type: UInt32 |
output_uint64 | Delayed signal (present when data_type = Uint64). Type: UInt64 |
output_float32 | Delayed signal (present when data_type = Float32). Type: Float32 |
output_float64 | Delayed signal (present when data_type = Float64). Type: Float64 |
output | Input delayed by delay_length samples; timestamp = that of the sample just received. |
Inputs
| Name | Description |
|---|---|
input_int8 | Input signal (present when data_type = Int8). Type: Integer8 |
input_int16 | Input signal (present when data_type = Int16). Type: Integer16 |
input_int32 | Input signal (present when data_type = Int32). Type: Integer32 |
input_int64 | Input signal (present when data_type = Int64). Type: Integer64 |
input_uint8 | Input signal (present when data_type = Uint8). Type: UInt8 |
input_uint16 | Input signal (present when data_type = Uint16). Type: UnsignedInteger16 |
input_uint32 | Input signal (present when data_type = Uint32). Type: UInt32 |
input_uint64 | Input signal (present when data_type = Uint64). Type: UInt64 |
input_float32 | Input signal (present when data_type = Float32). Type: Float32 |
input_float64 | Input signal (present when data_type = Float64). Type: Float64 |
input | Signal to delay, of the type selected by data_type (vectors supported). |
RTMaps Toolkits Documentation