From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Data Ports

Last Modified: January 25, 2018

Data ports relay data to and from the Multirate diagram, similar to control and indicator terminals on a VI diagram. Unlike terminals on a VI diagram, data ports relay data in streams as long as the ports receive data.

Input ports import data streams to the Multirate diagram. Output ports export data streams from the Multirate diagram.

Data Port Behavior on the Multirate Diagram

In a VI targeted to the host or controller, you can input only arrays of data to a Multirate diagram and output only arrays of data from a Multirate diagram. When you input an array to a Multirate diagram, the compiler converts the array to a stream because the Multirate diagram operates on data streams. If you input a two-dimensional array to a Multirate diagram, the compiler converts the two-dimensional array to a stream array. Likewise, if you output a stream scalar or a stream array from a Multirate diagram to a VI, the compiler converts the stream scalar to an array and the stream array to a two-dimensional array in which each row in the array is a data point.

The Multirate Diagram node behaves differently in a VI targeted to an FPGA than in a VI targeted to a host. If you call a Multirate diagram from a VI targeted to an FPGA, the Multirate Diagram node outputs a FIFO reference for each port on the Multirate diagram, including input ports.

Recently Viewed Topics