NIHSDIO_ATTR_FETCH_OFFSET

NI Digital Waveform Generator/Analyzer

NIHSDIO_ATTR_FETCH_OFFSET

Specific Attribute

Data
type
Access Applies to Coercion High-Level Functions
ViInt32 R/W N/A None None

Description

Offset in samples to start fetching acquired waveform data. The offset is applied relative to the NIHSDIO_ATTR_FETCH_RELATIVE_TO position. Offset can be a positive or negative value.

If the specified offset would cause the fetch to exceed the end of the waveform, NI-HSDIO returns a data overwrite error. If the selected offset would cause the fetch location to occur before the start of the waveform, the fetch location is coerced to the beginning of the waveform.

This attribute is valid only for acquisition sessions.