Example Code

PXIe-6570/1 Capture Memory Streaming LabVIEW Example

Code and Documents



This example shows how to stream more than 1 million capture memory samples with the PXIe-6570/1.



The PXIe-6570/1 have a capture memory size of 1 million samples. To use capture memory with a waveform that is larger than 1 million samples streaming must be used. This can be done by fetching chunks of the waveform from the device on-board memory before the 1 million samples limit is reached. If niDigital Burst Pattern.vi is set to "burst only" and "wait until done" is set to false the niDigital Burst Patter.vi call will not be blocking. This then allows the niDigital Fetch Capture Waveform.vi to be used to start fetching samples from device. This examples shows how to configure both the pattern and LabVIEW code. 

Hardware and Software Requirements

  • PXIe-6570/1
  • LabVIEW 2014 or newer (Make sure the version of NI-Digital Pattern Driver and Digital Pattern Editor supports the LabVIEW version being used. To check this refer to the driver readme)
  • NI-Digital Pattern Driver and Digital Pattern Editor 16.0 or newer (The NI-Digital Pattern Driver and Digital Pattern Editor does not support the PXIe-6571 until version 18.0 or newer)

Steps to Implement or Execute Code

1. Specify the resource name

2. Run the VI 

Additional Information or References


Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.