Passing Integer Values from TestStand into a Python Module

Updated Oct 18, 2019

Issue Details

I want to pass an integer value into a Python module from TestStand. How can I do that?

When I pass an integer into a Python module, Python says it is a floating point value. 

The type returned by the call to the Python module is a float. 



TestStand represents numeric literals as floating point values. Therefore, to pass a value into Python as an integer, you will need to use a special constant value or cast the numeric before passing it into the Python Module. 

The Python module below is called with a 64-bit integer passed into it. 

The type that is returned from the Python module is displayed in the popup below.