Documentation

Image Transmit

Image Transmit block

Library

Simulink® Real-Time™ Library for Video Utilities

Block Inputs

NameDescription

Data

Vector of byte containing video data for the block to transmit.

Length

Number of bytes to transmit.

Visible when the Allow variable length packets check box is set.

Description

The Image Transmit block sends the video frame from the target computer to the development computer at the IP address and port pair.

Block Parameters

IP address sent to (255.255.255.255 for broadcast)

Specify the IP address of the target computer to which you send the video frames. To broadcast the video frames to all listening computers, enter 255.255.255.255. The Remote IP port to send to parameter specifies the port for the destination.

Remote IP port to send to

Specify the target computer port to which you send the video frames. The IP address sent to (255.255.255.255 for broadcast) parameter specifies the IP address for the destination.

Use the following local IP port (-1 for automatic port assignment)

Specify the target computer port from which to send the video frames.

Enter -1 to automatically assign a port for the target computer.

Allow variable length packets

Select this check box to enable the transmission of variable-length frames. For example, use this option for compressed frames, because the length of each frame varies.

If this check box is selected, the Data port sends the actual data. The Length input port becomes visible and contains the number of bytes being sent. If the port size is less than Length, the block sends up to the port size.

If this check box is cleared (default), the block sends only fixed-length packets.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

Was this topic helpful?