Example Code

Display Hexadecimal String and Normal String Parallelly in Column Inside the Same Table

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

    Operating System

  • Windows

Code and Documents

Attachment

Description

This example will show how to display hexadecimal string and normal string together in a table. If you have input from hexadecimal display string control and normal display string control, and you require to display them in a table, this example can provide some idea. In this example, 16-bits are used for the hexadecimal as an example. You can change the numeric representation connected to the Type Cast function to achieve display for different bits.

Below is the expected result for this example:

Below is the snippet code of this example:

Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.