07-22-2014 05:28 PM
I'm just getting started with labpython. Users of my app would be able to specify any python script, and my app will provide values for the input variables from its database, then record the output values. It seems like I have to Set Data for the input variables, then Execute, then I can Get Variables and Get Data. BUT I want is to know each variable's name and whether it is input and/or output, before I do Set Data (input values). The parser must know this, but doesn't tell me. Am I missing something? Do I have to parse it myself?
07-23-2014 08:49 AM
Hi Jova,
Since this is a third-party toolkit, National Instruments won't be able to provide much in way of support. However, I took a quick look at the toolkit and based off of the documentation I found online, it does look like you will need to know the variables from the script ahead of time unless you parse them out. There is the Get Variable.vi, but it looks like it only knows about the variables set through Set Data.vi or exist after executing the script.
Best Regards,