Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6733

How to convert a string to hex in TestStand

$
0
0

Hi everyone, I think this is a fairly easy question to answer but I am newer to TestStand.

 

In one step I am pulling in the Serial Number of a Device (which is alpha and numeric characters) and storing it as a String Local called Local.SerialNumberString.  In the following step I need to convert this Local to a Hex value and store it as Locals.SerialNumberHex

 

Here is the data representation I need to take place:

 

Locals.SerialNumberString = ABC123456

 

and would like to know of a function that would convert to the following:

 

Locals.SerialNumberHex = 414243313233343536

 

How can this be done?

 

Thanks so much!


Viewing all articles
Browse latest Browse all 6733

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>