ADC Periodic Vector System Definition
This MotoHawk when combined with a number of ADC Periodic Vector Definition blocks could be used to capture a set of samples from a number of ADC channels. Data Store blocks (such as the Data Read) are used to retrieve the data in a Queue.
Block ID
ADC Periodic Vector System Definition
Library
MotoHawk_lib/Analog I/O Blocks
Description
The ADC Periodic Vector blocks uses a module resource to generate a trigger signal for the ADC at the specified rate. The results of the vector are placed in the "Queue" data store. Each row is a sample and each column maps to a resource that is sampled. The ADC Periodic Vector Definition defines into which column an ADC resource is to be sampled.
Hardware may not support all Sampling Modes.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Name | 'single-quote' enclosed alpha-numeric text | No special characters such as spaces, dashes, commas (underscore allowed). Select a unqiue name. This name shall be used by related blocks to reference this definition. |
Resource | Drop-down list | Select a resource that will initiate the periodic samples. |
Queue Name | 'single-quote' enclosed alpha-numeric text | The name of the data store to store the samples. The data store must be a matrix of the data type uint16 where each column represents a single element and each row stores a sample. |
Sample Mode | Drop-Down List | The sample mode specifies how the sample cycle is restarted. "Circular" means that the sampling continues until "Max Samples" is reached even if it starts over at the beginning of the queue. "Stop when Full" will terminate sampling when the queue is full. |