Table Of Contents

Get Scaling Coefficients (G Dataflow)

Version:
    Last Modified: December 19, 2018

    Returns coefficients you can use to convert unscaled data to scaled I/Q data.

    spd-note-note
    Note

    The coefficients are calculated by NI-RFSA for the current configuration of the device, so they are valid only for acquisitions obtained with the same device configuration.

    connector_pane_image
    datatype_icon

    session in

    Instrument session obtained from Initialize With Options .

    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 out

    Reference to your instrument session passed to the next node.

    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.
    datatype_icon

    coefficient info

    Array with coefficient information.

    datatype_icon

    offset

    Number to add to the data from a peer-to-peer stream after the gain has been applied in order to scale unscaled data.

    datatype_icon

    gain

    Multiplier to use to scale data obtained from a peer-to-peer stream.

    Scaling I/Q Values

    Acquired data may be unscaled when sent by a peer-to-peer stream or when fetched as unscaled data. Use this node to scale such I/Q values.

    Obtaining Scaled I/Q Values

    The coefficient info array returns one cluster that contains gain and offset elements. To obtain scaled I/Q values, multiply the unscaled data by the gain value of the cluster, then add the offset.

    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:

    • PXIe-5663E/5665/5667/5668
    • PXIe-5820/5840


    Recently Viewed Topics