[Python.NET] Re: "TypeError: No method matches given arguments" Error - please help!

2021-08-16 Thread mysfeir
I am using pythonnet version 2.5.2. Slide - your suggestion does fix the problem, thanks. The following code works: from System import UInt32, Int32 from System import Double result, response, errString = ESP301Device.SR_Get(Int32(1),Double(0.),"") I think I misread the documentation, which says

[Python.NET] "TypeError: No method matches given arguments" Error - please help!

2021-08-13 Thread mysfeir
This seems to come up semi-regularly from a web search, but I have been unable to converge on a solution. I am using Python 3.8 and pythonnet to try to control a Newport ESP301 motion controller. The supplied .NET assembly contains this command: public int SR_Get(int axisNumber, out double limi