LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Reference Constant linked to a new TypeDef with VI Scripting is deleted

Hello,

I have a problem using VI Scripting. I use it to automatically generate templates containing subVIs and Type Def by copying them from a template source (Task(x).vi will be replaced with PXI6232.vi for instance).

It works finem, even the dependencies, but I still have a problem with Reference Constant linked to Control, which is linked to a TypeDef. When I start my Scripting.vi, the control will be correctly relinked but the RefConstant will be deleted as shown in the Snippet.

How can I relink the RefConstant to its Control and avoiding its suppression?

Thanks,

Laurent

before.pngafter.pngScriptVI.png

0 Kudos
Message 1 of 2
(3,599 Views)

Any suggestions?

0 Kudos
Message 2 of 2
(2,862 Views)