the host computer and the RT target execute different parts of the same VI. On the host computer, LabVIEW displays the front panel of the VI while the RT target executes the block diagram. Front panel communication is a good communication method to use during development, because you can quickly monitor and interface with Vis running on an RT target. With network communication, a host VI runs on the host computer and communicates with the VI running on the RT target using specific network communication methods such as network-published shared variables, Network Stream functions, or other protocols like TCP. You might use network communication for the following reasons: To run another VI on the host computer. • To control the data exchanged between the host computer and the RT target. You can • customize the communication code to specify which front panel objects to update and when. You also can control which components are visible on the front panel because some controls and indicators might be more important than others. To control timing and sequencing of the data transfer. • To perform additional data processing or logging. • Use the Network Streams functions for network communication when you need to transfer every point of data. Use cases include: Transferring data losslessly between RT target and host computer • Transferring data from an RT target to host computer for logging data to file • Transferring data from an RT target to host computer for data processing and analysis that • requires more memory than the RT target has available Stream data continuously between two LabVIEW applications with network streams. A network stream is a lossless, unidirectional, one-to-one communication channel that consists of a writer and a reader endpoint. You can use network streams to stream any data type between two applications, but the following data types stream at the fastest rates: Numeric scalars • Booleans • 1D arrays of numeric scalars • 1D arrays of Booleans • You can accomplish bidirectional communication by using two streams, where each computer contains a reader and a writer that is paired to a writer and reader on the opposite computer. Each endpoint uses a FIFO buffer to transfer data. A buffer is a region of memory that stores data. FIFO means first in and first out. With a FIFO buffer, the writer adds data to the buffer in a sequence, and the reader removes it in the same sequence. The writer and reader can operate at different rates and no data will be lost if the buffer size is large enough and the
the host computer and the RT target execute different parts of the same VI. On the host computer, LabVIEW displays the front panel of the VI while the RT target executes the block diagram. Front panel communication is a good communication method to use during development, because you can quickly monitor and interface with Vis running on an RT target. With network communication, a host VI runs on the host computer and communicates with the VI running on the RT target using specific network communication methods such as network-published shared variables, Network Stream functions, or other protocols like TCP. You might use network communication for the following reasons: • To run another VI on the host computer. • To control the data exchanged between the host computer and the RT target. You can customize the communication code to specify which front panel objects to update and when. You also can control which components are visible on the front panel because some controls and indicators might be more important than others. • To control timing and sequencing of the data transfer. • To perform additional data processing or logging. Use the Network Streams functions for network communication when you need to transfer every point of data. Use cases include: • Transferring data losslessly between RT target and host computer • Transferring data from an RT target to host computer for logging data to file • Transferring data from an RT target to host computer for data processing and analysis that requires more memory than the RT target has available Stream data continuously between two LabVIEW applications with network streams. A network stream is a lossless, unidirectional, one-to-one communication channel that consists of a writer and a reader endpoint. You can use network streams to stream any data type between two applications, but the following data types stream at the fastest rates: • Numeric scalars • Booleans • 1D arrays of numeric scalars • 1D arrays of Booleans You can accomplish bidirectional communication by using two streams, where each computer contains a reader and a writer that is paired to a writer and reader on the opposite computer. Each endpoint uses a FIFO buffer to transfer data. A buffer is a region of memory that stores data. FIFO means first in and first out. With a FIFO buffer, the writer adds data to the buffer in a sequence, and the reader removes it in the same sequence. The writer and reader can operate at different rates and no data will be lost if the buffer size is large enough and the
mobile_robot_experiments.docx