ADC Angle Vector Get

This MotoHawk™ block is used to obtain the latest ADC Angle Vector. It is intended to execute from within the ADC Angle Vector Ready Trigger that has been associated to this vector

Block ID

ADC Angle Vector Get

Library

MotoHawk_lib/Analog I/O Blocks

Description

This block gets the vector of values for one ADC Angle Vector at a time. The vector returned is the most recent one that has been captured by the system. Data coherency is only assured while this block is used within the ADC Angle Vector Ready Trigger that has been associated to this vector. That is, the memory associated with an ADC Angle Vector instance is only protected against overrun until the blocks under the ADC Angle Vector Ready Trigger associated to this vector have completed their execution. After this the memory is freed for use by the driver to begin capturing the next vector instance. This implies that a copy of the data should be taken if the data recovered by this block is to be used by a block that is not executing under this same trigger.

Use the "Vector Id" output to identify which vector has just occurred and whose data is currently being delivered to the Vector output port. This Vector Id shall correspond to the Vector Id that was entered into one of the ADC Angle Vector definition for an ADC Angle Vector System block. The "Vector" output will be the vector sized based upon the Number of Elements in Vector attribute when Use Sample Bands is not checked or will be the matrix sum of Sample Band divided by Band Interval when Use Sample Bands is checked.

Block Parameters

Parameter Field Values Comments/Description
ADC Vector System Name 'single-quote' enclosed alpha-numeric text This should be the name of the ADC Angle Vector System Definition that this block is associated with.