To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI converts an input Refnum to a I32 number and output this number.
Description
Many LabVIEW users have had trouble displaying the numeric data of the refnum datatype for debugging purposes. This example shows how using typecasting can be used to covert the refnum datatype into a readable form. Typically, when you create a control or indicator for the refnum datatype you will get an icon representation on the front pannel; this example shows how to display the refnum in a numeric indicator.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.