...
Child pages (Children Display) |
---|
General Information
Sink modules have an input pin but no output. Sinks are used to tie off unused module pins or for plotting of immediate data.
NullSink
| Ties off unused module outputs. No internal buffer. | |
Sink
| Copies Floating point data from the wire to an internal buffer. Can be used as a scope display. | |
Boolean Sink | Triggers a light (via inspector) on if “true” and off if “false” | |
Triggered Sink | Sink that copies data when input control is nonzero, else it does nothing. | |
Sink Int | Copies Int Data from wire to internal buffer. Can be used as a scope display. |
Null Sink
One of the examples from above used a NullSink module to tie off an unused output pin:
...
The left channel output is attached to a NullSink module and completely ignored. The NullSink does no processing and uses very little memory (only for its instance structure).
Sink
The Sink module, on the other hand, has an internal buffer equal in size to the input wire. At run-time, the Sink module copies the data from the input wire to the internal buffer. This takes some processing and some memory. The interesting feature of the Sink module is that the inspector has a scope display that shows the real-time wave form.
...
The waveform shows would be about 23 msec in length as shown below and also shows two channels of data.
...
Meter
If only an instantaneous view of a system value is desired, the Meter module can be used instead.
...