NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the variable type inside a container

Hello

I'm searching for a way to change my variable type which is inside of a container programatically.

For example i have a container with 10+ variables with type "Boolean". I want to get those boolean result and change it into 1 or 0 and save it to a string ( to make it binary )

I've already found a way to solve this using loop and make a new container filled with type "Number" but maybe someone has a "elegant" way to solve this.

 

0 Kudos
Message 1 of 2
(869 Views)

Hello Evan,

if I understand you correctly you want to convert this container of only boolean values to a  Hex or Numeric value , right?

 

 

aparab_0-1680525242746.png

Best

Akshay

 

0 Kudos
Message 2 of 2
(848 Views)