# Sample and Multiplex Multiplexes multiple analog channels into a single analog channel. ## Toolbox ![](SampleMuxIcon.png) ## Breadboard Footprint N-A ## Schematic Symbol ![](Schematic.png) ## Description Periodically samples very Interval milliseconds Channels analog channels and encodes the values on a single **DAC** pin using a **CLK** pin and a binary representation of channels. On a rising CLK edge the value of channel is available on the DAC pin. Between Samples there are Channels transfers. ![](Timing.png) ## Pin Out | Pin | Description | | :--- | :--- | | [AN](#analog-pins) | The number of input pins | | [CLK](#clk-pin) | The output CLK | | [DAC](#dac) | Axis pins are dynamically created to collect sample data | | [CH0..](#chanel-output-pins) | Data label pins are dynamically created to markup submitted sample data sets | ### Analog Pins The **AN** analog pins are dynamically added by setting the number of `Channels` properties. All the channels are sampled at the interval period and then multiplexed over the single analog channel. ### CLK Pin The **CLK** output pin transfers multiplexed value on the rising edge. The next DAC value and channel bits are setup on the falling CLK falling edge. ### DAC The sampled input AN are encoded into a DAC output. When using the physical EDGEY series the DAC resolution is 8-bits. ### Channel Output Pins The current channel encoded in the **DAC** value is represened by a binary value encoded on the *CH0..* output pins. ## Properties | Property | Default | Description | | :--- | :--- | :--- | | [Channels](#channels) | 2 | The number of input channels to multiplex. | | [Interval](#interval) | 100 | An integer number of milliseconds between samples | ### Channels The number of input channels channels. ### Interval An integer number of milliseconds between samples. ## Usage ![](Usage.png)