From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, ni.com 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

Swap Bytes (Clock-Driven Logic)

Last Modified: October 2, 2017

Swaps the high-order 8 bits and the low-order 8 bits for every word in the specified input (data).

connector_pane_image
datatype_icon

data

An integer, an array of integers, or a cluster containing integers that you want to byte swap.

Behavior with Clusters

If this input is a cluster that contains integers, this node swaps only the integer elements of the cluster.

datatype_icon

byte swapped

An output of this operation with the same data type and structure as data.

Where This Node Can Run:

Desktop OS: none

FPGA: All devices

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics