Passing data to Labview gives NoneType - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Passing data to Labview gives NoneType (/thread-16870.html) |
Passing data to Labview gives NoneType - amasta - Mar-18-2019 Hello, I am trying to run some Python code through Labview involving the lmfit module. The minimize() function of the lmfit module outputs a Parameter() object containing the fitting results. The data in this object can, for example, be called using self.params['A'].valueThis gives the value of fitting parameter A. So far so good. Passing this to labview as a float data type works. However when I try to pass the standard devation value from the Parameter() object using self.params['A'].stderrLabview then gives the following error: However, executing the exact same code in Spyder does give the correct stderr value, while Labview stated there is a NoneType. What seems to be the problem here? How can the value from example 1 be okay, while stderr from example 2 not
|