Table Of Contents

XNET Convert (Frame LIN to Signal) (G Dataflow)

Version:
    Last Modified: February 22, 2017

    Converts between NI-XNET LIN frame data and signals.

    connector_pane_image
    datatype_icon

    session in

    The session to read. This session is returned from XNET Create Session. The session mode must be Conversion.

    datatype_icon

    frame data

    An input that provides the array of LabVIEW clusters. Each array element corresponds to a frame value to convert.

    Each array element corresponds to a frame value to convert.

    The data you write is converted to signal values in the order you provide them. Only the latest signal value is returned.

    datatype_icon

    identifier

    An element not used for transmit. You must set this element to 0.Each frame is identified based on the list of frames or signals provided for the session. The actual identifier to transmit is taken from the database (frame and schedule properties). Therefore, this identifier in the frame value is ignored.

    datatype_icon

    event slot?

    An element not used for transmit. You must set this element to false. The currently running schedule is used to map the specific frame to a corresponding schedule entry (slot). The schedule entry itself determines whether the slot is unconditional, sporadic, or event triggered.

    datatype_icon

    event ID

    An element not used for transmit. You must set this element to 0.

    datatype_icon

    echo?

    An element not used for conversion. You must set this element to false.

    datatype_icon

    type

    The frame type.The decimal value is in parentheses:

    LIN Data (64) The LIN data frame contains payload data. This is currently the only frame type for LIN.

    This value is ignored for conversion.

    datatype_icon

    timestamp

    An element that represents absolute time using the LabVIEW absolute timestamp type. timestamp is not used for conversion. You must set this element to the default value, invalid (0).

    datatype_icon

    payload

    The array of data bytes for a LIN data frame. The array size indicates the payload length of the frame value to transmit. According to the LIN protocol, the payload length range is 0-8.

    For more information, refer to the section for each mode.

    datatype_icon

    error in

    Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

    Default: No error

    datatype_icon

    session out

    An output that is the same as session in, provided for use with subsequent nodes.

    datatype_icon

    signal data

    An output that returns a one-dimensional array of signal values. Each signal value is scaled, 64-bit floating point. Each array element corresponds to a signal configured for the session. The order of signals in the array corresponds to the order in the session list.

    The data returns the most recent converted value for each signal. If multiple frames for a signal are input, only signal data from the most recent frame is returned. Here, most recent is defined by the order of the frames in the frame data array, not the timestamp.

    If no frame is input for the corresponding signals, the XNET Signal Default Value is returned.

    datatype_icon

    error out

    Error information. The node produces this output according to standard error behavior.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Supported


    Recently Viewed Topics