Analog input on a DSP target is non-blocking, so the analog input continues to return old data from the buffer until the buffer obtains enough new data to fill the buffer. This means that the DSP target might process the old data multiple times and not be ready to process the new data as soon as the new buffer is available.
To make sure that the DSP application only processes new data from the analog input buffer, you can use the AI Property Node. The AI Property Node contains the new data? item that detects the occurrence of a new buffer of analog input data. Use the AI Property Node in time-critical applications to ensure that the DSP target does not repeatedly process the old data buffer while the DSP target collects a new buffer of analog input data.
![]() |
Note Because the DSP Elemental I/O Nodes use double buffering to achieve real-time data acquisition on the DSP target, you do not need to use the AI Property Node if the DSP VI contains both analog input and analog output. |
Complete the following steps to synchronize analog input in a DSP VI.
Refer to the Analog Input Synchronization example VI in the labview\examples\EmbeddedDSP\ directory for an example of using the AI Property Node.