LabVIEW APIs Discussions

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Scripting with polymorphic VIs

I don't see it there either! 

Generic | GObject | ???

0 件の賞賛
メッセージ11/13
2,190件の閲覧回数

Above Generic there is a VI class, under that is Polymorphic VI.  On a new blank BD press CTRL+Shift+B to bring up the class browser, from there you can browse classes, find properties and create them.

0 件の賞賛
メッセージ12/13
2,190件の閲覧回数

I got it!  When you create a new VI with scripting, you have to create a constant on the "Type Specifier VI RefNum" terminal and configure it for a polymorphic.  Otherwise the polymorphic specific options do not show up as valid property nodes. 

NOTE: This is regardless of whether or not you select "Polymorphic VI" for the VI Type terminal...

Thanks for all the help!!!

Build polymorphic_vi.png

0 件の賞賛
メッセージ13/13
2,190件の閲覧回数