Use the following table to determine which types of data transfer to use in your real-time application.
Use Case | Type(s) of Data Transfer | Additional Information |
---|---|---|
Sending data between non-deterministic code on the same controller, when you only need the most recent set of data and do not need to avoid overwriting or losing data | Data Value Reference | Storing Data with Data Value References to Manage Memory |
Sending between non-deterministic sections of code on the same controller, when you need to avoid overwriting or losing data | ||
Sending data to and receiving data from deterministic code, in a single real-time VI or across multiple real-time VIs | RT FIFO | Transferring Data to Deterministic Code |
Sending and receiving short, non-critical messages over a network | UDP | Transferring Data Over a Network Using UDP |
Sending and receiving data over a network | TCP | Transferring Data Over a Network Using TCP |
Sending and receiving data between an FPGA and non-deterministic sections of code on the PC or real-time controller |