applications are thoroughly tested. Network streams creates a buffer on the writer and another one on the reader. As shown in Figure 69, data flows in the following order: 1. The writer endpoint writes data to a FIFO buffer, on the sbRIO in this instance. 2. The Network streams software (called the Network Streams Engine or NSE) transfers data over a network (via the ethernet cable in this instance) to another FIFO buffer on the reader endpoint, the host computer in this instance. 3. The reader endpoint reads the data from that FIFO buffer. Figure 69. Network streams concept diagram Complete the following steps to create and stream data with a network stream: 1. Create the endpoints and establish the stream connection. 2. Read or write data. 3. Destroy the endpoints. Use information from the VIs developed previously and additional information in the following to modify the Acquire and Display Range Data VI to build the Acquire Display & Write Range Data VI shown in Figure 610 and the Read Display & Save Range Data VI shown in Figure 611. The Read Display & Save Range Data VI should reside under My Computer in the project as shown in Figure 612 and not under the sbRIO target. Figure 610. Acquire Display & Write Range Data VI on the real-time sbRIO Figure 611. Read & Save Range Data on the Windows host computer Figure 612. Project showing Read Display & Save Range Data under the host computer LabVIEW identifies each stream endpoint with a URL (uniform resource locator). To connect two endpoints and create a valid network stream, you must specify the URL of a remote endpoint with the Create Network Stream Endpoint Reader or Create Network Stream Endpoint Writer function. The URL of a stream endpoint must contain at least
applications are thoroughly tested. Network streams creates a buffer on the writer and another one on the reader. As shown in Figure 69, data flows in the following order: 1. The writer endpoint writes data to a FIFO buffer, on the sbRIO in this instance. 2. The Network streams software (called the Network Streams Engine or NSE) transfers data over a network (via the ethernet cable in this instance) to another FIFO buffer on the reader endpoint, the host computer in this instance. 3. The reader endpoint reads the data from that FIFO buffer. Figure 69. Network streams concept diagram Complete the following steps to create and stream data with a network stream: 1. Create the endpoints and establish the stream connection. 2. Read or write data. 3. Destroy the endpoints. Use information from the VIs developed previously and additional information in the following to modify the Acquire and Display Range Data VI to build the Acquire Display & Write Range Data VI shown in Figure 610 and the Read Display & Save Range Data VI shown in Figure 611. The Read Display & Save Range Data VI should reside under My Computer in the project as shown in Figure 612 and not under the sbRIO target. Figure 610. Acquire Display & Write Range Data VI on the real-time sbRIO Figure 611. Read & Save Range Data on the Windows host computer Figure 612. Project showing Read Display & Save Range Data under the host computer LabVIEW identifies each stream endpoint with a URL (uniform resource locator). To connect two endpoints and create a valid network stream, you must specify the URL of a remote endpoint with the Create Network Stream Endpoint Reader or Create Network Stream Endpoint Writer function. The URL of a stream endpoint must contain at least
mobile_robot_experiments.docx