08-27-2014 04:40 AM - edited 08-27-2014 04:42 AM
Here's my code.
Whenever this is run, I get the following error:
Error 1050 occurred at PYTHON Execute Script__ogtk.vi->Writer.vi:<type 'exceptions.TypeError'>, attribute of type 'NoneType' is not callable
The code works perfectly in python. Any ideas of how to get around this problem?
08-27-2014 08:32 AM
@Gazebo wrote:
Here's my code.
Whenever this is run, I get the following error:
Error 1050 occurred at PYTHON Execute Script__ogtk.vi->Writer.vi:<type 'exceptions.TypeError'>, attribute of type 'NoneType' is not callableThe code works perfectly in python. Any ideas of how to get around this problem?
This is a LabVIEW forum. You need to ask for help at the LabPython forum.
08-28-2014 03:24 AM
Hello,
As noted by nyc, LabPython is not supported by National Instruments.
To help you, I give you a piece of advice :
If you want to integrate in LabVIEW a script in Python which has been developed by you, I suggest you to try to replace all the VI by the Python 2.2 Script node
If you want to share the library "python.27.dll", I suggest you to try to reverse the first and the second VI (first, use Python New Session.VI and then use
Python Set Servers Path.VI)
This link could help you:
http://labpython.sourceforge.net/palette.html
Best regards,