+5

Convert Machine ID to numbers?

Michael Carlyle 5 years ago in IQANdesign updated by Gustav Widén (System support) 3 months ago 3

Is there an easy way to convert the machine ID (which I believe is a text variable) into numbers (each character or the whole number woudl work) as we use this as machine serial # and need to change parameters based on certain digits.

No, there is no string conversion function available in the existing versions. It is one function I hope we could introduce in a future version, it would be quite useful.

One workaround I have suggested for a similar usage in another application was to also use an Integer Parameter and set that to the same value as the machine ID (assuming that the machine ID only contains digits).

Similarly, I'd like to convert module serial number (text value type) into an integer or real value type to perform math calculations with the digits of the serial number.  Has there been any updates regarding string handling functions?