Table Of Contents

niUSRP Fetch Rx Data (niUSRP Fetch Rx Data (CDB Cluster)) (G Dataflow)

Last Modified: April 2, 2018

Fetches a cluster of complex, double-precision floating-point data from the specified channel. Modulation Toolkit nodes use the complex, double-precision floating-point cluster data type. Use this node in applications that use Modulation Toolkit nodes.

connector_pane_image
datatype_icon

session handle

Instrument session.

datatype_icon

number of samples

Number of samples to fetch from the acquisition channel. For finite acquisitions, if you specify a value of -1, NI-USRP returns all the remaining samples. NI-USRP returns the samples when the requested number of samples is retrieved from the device or when the timeout is exceeded, whichever happens first.

datatype_icon

timeout

Time to wait, in seconds, before returning an error if the requested number of samples have not been acquired.

Default: 10

datatype_icon

channel list

Channel(s) from which to fetch the data.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

session handle out

Reference to your instrument session to be passed to the next node.

datatype_icon

data

Received baseband samples as complex, double-precision floating-point data in a cluster, which also includes sampling information.

datatype_icon

t0

Trigger (start) time of the acquired Y array.

datatype_icon

dt

Time between values in the Y array.

datatype_icon

Y

The complex-valued baseband waveform. The real and imaginary parts of this complex data array correspond to the in-phase (I) and quadrature-phase (Q) data, respectively.

datatype_icon

timestamp

Timestamp of the first receive (Rx) sample returned and the time associated with the first sample of the waveform, according to the onboard device timer.

datatype_icon

whole seconds

Integer number of seconds for the time associated with the first sample of the waveform, according to the onboard device timer.

datatype_icon

fractional seconds

Double-precision, floating-point value representing the remaining fraction of a second for the time associated with the first sample of the waveform, according to the onboard device timer.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application

Hardware Support:

This node supports the following hardware:

  • USRP-2900/2901
  • USRP-2920/2921/2922
  • USRP-2930/2932
  • USRP-2940/2942/2943/2944/2945
  • USRP-2950/2952/2953/2954/2955


Recently Viewed Topics