I've posted this in the NI forums, but I thought I might get some more traction here...
Does anybody have any ideas on a way to stream commands to a python console?
A little background on the issue: I am able to control instruments in a system through a .dll that I call using python. I have already implemented a VI that can create a script "on the fly" and execute it to perform simple commands. The problem is that this creates a new instance of python every time I execute a command. It would be very advantageous for me to keep python running and only stop execution when I'm done sending commands.
I have tried accessing python directly from the python .dll through LabVIEW, but this got ugly very quick and I'm not a software engineer
I have also tried using labpython, but it doesn't seem to be compatible with python 3.3 which is a requirement in the system.
Please let me know if you have any suggestions on what path I should head down, Thanks.