PythonParameter.Category

Syntax

PythonParameter.Category

Data Type

PythonParameterCategories

Use the following constants with this data type:

  • PythonParamCategory_Boolean –(Value: 0x3) Specifies that the parameter is a boolean.
  • PythonParamCategory_Dispatch –(Value: 0x8) Specifies that the parameter is an object reference variable that stores either an ActiveX object that implements IDispatch or a TestStand object. You must install pywin32 in order to pass TestStand objects or ActiveX objects between TestStand and Python.
  • PythonParamCategory_Dynamic –(Value: 0x7) Specifies the type of the parameter is dynamically detected based on the input provided to the parameter.
  • PythonParamCategory_Enum –(Value: 0x9) Specifies that the parameter is an enum.
  • PythonParamCategory_List –(Value: 0x5) Specifies that the TestStand array passes to the Python module as a list.
  • PythonParamCategory_None –(Value: 0x0) Specifies that the parameter is a None parameter, meaning it has no value. This category applies only to return value.
  • PythonParamCategory_Numeric –(Value: 0x1) Specifies that the parameter is a number.
  • PythonParamCategory_NumPyArray –(Value: 0x10) Specifies that the TestStand array passes to the Python module as a NumPy array.
  • PythonParamCategory_Object –(Value: 0x6) Specifies that the parameter is a PyObject.
  • PythonParamCategory_String –(Value: 0x2) Specifies that the parameter is a string.
  • PythonParamCategory_Tuple –(Value: 0x4) Specifies that the parameter is a tuple.

Purpose

Returns the category of the parameter.