問題敘述
- 我在 TestStand 中使用 Python 步驟類型。在我的 Python 腳本中進行更改後,我的 TestStand 序列不再正常運作並出現-17500錯誤。
- TestStand 說我的 Python 類別不包含我嘗試呼叫的方法,即使步驟設定辨識方法名稱並且 Python 腳本正確定義該方法也是如此,請問是什麼原因造成的?
- 修改Python腳本後,TestStand總是顯示以下錯誤。我確定該腳本中所呼叫的功能是有效且存在的。
<class 'AttributeError'>
'<class name>' object has no attribute '<method name>'
AttributeError: '<class name>' object has no attribute <'method name'>
-17500; Operation Failed.