Main Content

collectData

Collect captured data from FPGA to host in nonblocking mode

Since R2024a

Description

capturedData = collectData(hub) returns the captured data from an FPGA to the host machine in nonblocking capture mode. hub is a customized data capture hub object.

Note

The collectData function is not supported in blocking capture mode.

Input Arguments

collapse all

Data capture hub object that interacts with each data capture IP, specified as a dataCaptureHub object.

Output Arguments

collapse all

Captured data, returned as a structure that contains structures for each connected data capture IP. Each such structure contains a field for the Capture_Window signal, a field for the Trigger_Position signal, and a field for each signal obtained by FPGA data capture. The captured signal field is a vector of Sample depth values for each signal requested for data capture at generation time. The fields of the structure have these signal names.

  • Capture_Window — This signal indicates the current capture window.

  • Trigger_Position — This signal indicates the position of the trigger detection clock cycle within a capture buffer.

  • All remaining fields — The signal names you specified at generation time.

Version History

Introduced in R2024a