NI-RFSA C Function Reference

NIRFSA_ATTR_FETCH_RELATIVE_TO

  • Updated2025-05-22
  • 1 minute(s) read

NIRFSA_ATTR_FETCH_RELATIVE_TO

Specific Attribute

Data
type
Access High Level Functions
ViInt32 R/W None

Description

Specifies the reference location within the acquired record from which to begin fetching.

Defined Values:

NIRFSA_VAL_MOST_RECENT_SAMPLE (700) Fetching occurs relative to the most recently acquired data. The value of the NIRFSA_ATTR_FETCH_OFFSET attribute must be negative.
NIRFSA_VAL_FIRST_SAMPLE (701) Fetching occurs at the first sample acquired by the device. If the device wraps its buffer, the first sample is no longer available. In this case, NI-RFSA returns an error if the fetch offset is in the overwritten data.
NIRFSA_VAL_REF_TRIGGER (702) Fetching occurs relative to the Reference Trigger. This value behaves like NIRFSA_VAL_FIRST_SAMPLE if no Reference Trigger is configured.
NIRFSA_VAL_FIRST_PRETRIGGER_SAMPLE (703) Fetching occurs relative to the first pretrigger sample acquired.
NIRFSA_VAL_CURRENT_READ_POSITION (704) Fetching occurs after the last fetched sample.

Default Value: N/A

Supported Devices: PXIe-5644/5645/5646, PXI-5661, PXIe-5663/5663E/5665/5667/5668, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

Log in to get a better experience