MotoHawk:Blocks:ADC Periodic Vector Definition
From MotoHawk
Jump to navigationJump to searchContents
ADC Periodic Vector Definition
This MotoHawk when combined with a number of [ADCPeriodicVectorElement.html ADC Periodic Vector Element] blocks could be used to capture a set of samples from a number of ADC channels. Data Store blocks (such as the [GetEntireADCAngleVector.html Data Store Definition] are used to capture the data in a Queue.
Block ID
ADC Periodic Vector 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.
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 appropriate resource. |
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. |