06-30-2020 08:48 AM
Hello,
We are switching to DIAdem / SystemLink 2020; we know python scripting is now supported, and can be already used instead of VBS to create script and/or Analysis Automation Procedure (.anp file).
I was wondering if it could be already utilised to create .dpp files (Data Preparation Procedures). As far as I can see it, it seems it is not. Can you confirm it?
Solved! Go to Solution.
07-02-2020 02:53 PM
Hi panta,
The DPP file is mostly created with a configuration dialog. Are you referring to running a python script in the V&V step instead of the traditional VBScript in that step? I am not aware of that being a possibility yet, though I agree that would be a great feature.
Brad Turpin
Principal Technical Support Engineer
National Instruments
07-03-2020 01:18 AM
Hi Brad,
Thanks for your answer. Yes, I meant V&V step (I didn't mention it, my bad).
We can keep working with VBScript without any problem, mine was just a curiosity. Of course if Python-based V&V scripting is available one day, we will certainy appreciate.
07-04-2020 04:52 PM
Hi,
Does the Systemlink 2020 support data plugins built using Python?
Thanks
Pranay
07-07-2020 08:38 AM
Hi Pranay,
Yes, SystemLink 2020 and DIAdem 2020 both will run DataPlugins created in python. Note though that in this very first implementation of python DataPlugins, only the built-in modules of the python runtime are available-- you can not include any modules in your python DataPlugin that were pip installed.
Brad Turpin
Principal Technical Support Engineer
National Instruments
07-21-2020 10:00 AM
@Brad_Turpin wrote:
Hi Pranay,
Yes, SystemLink 2020 and DIAdem 2020 both will run DataPlugins created in python. Note though that in this very first implementation of python DataPlugins, only the built-in modules of the python runtime are available-- you can not include any modules in your python DataPlugin that were pip installed.
Brad Turpin
Principal Technical Support Engineer
National Instruments
Do you know if it is on the road map to support the use of pip installed modules?
08-05-2020 02:18 PM
Hi Ryan,
I know that R&D is looking into it. I don't have any timelines or feature forecasts. There are several considerations that make this more complicated that it sounds at first. One is the distribution question-- if the DataPlugin is allowed to use included modules, then sending the DataPlugin to another computer will have to install or verify that those modules are already installed on that computer. Another is the parallelization question-- The DataFinder Server typically runs DataPlugin instances in parallel using multiple CPU threads, but not all included modules are thread safe. Stuff like that. I know that R&D wants to expand the DataPlugin coverage to include (ahem) as much of the full python tool set as will work for DataPlugins. I have not heard clarifying comments or what the next step will look like or when it will happen.
That's all I've got for now,
Brad Turpin
Principal Technical Support Engineer
National Instruments