08-10-2020 09:38 PM
Hello Everyone:
When we use native class,we can create all properties at once,but when we use G# class we seem to create one property at a time.Do we have the method to create property like native class,My English is poor.I hope everyone can understand what I say.😥
Solved! Go to Solution.
08-11-2020 12:43 AM - edited 08-11-2020 12:45 AM
08-11-2020 12:54 AM
yes,when we use native class tool ,we just select all properties(Step 1),and then click “Create” button ,LabVIEW will create all read/wtite properties VI. but when we use G# Class tool create properties ,we can only choose one property then create write/read VI, then we choose next one,then create......(loop)
08-11-2020 01:05 AM
08-11-2020 02:56 AM
You can ofc use the standard 'create accessor' on a G# class, but otherwise i agree with the idea/suggestion.
It should be a Tree/List instead of the drop down so several can be selected at once. It don't Think it's that hard to implement.
/Y
08-11-2020 05:24 AM
@Yamaeda wrote:
You can ofc use the standard 'create accessor' on a G# class
Let me be clear so i don't fool you: You can use the Create accessor to create the VI's in bulk, but as they are standard accessors they'll include a normal Bundle/Unbundle. To G#-ify it you'll need to change it to a DVR inside those VIs.
If i'd go this way i'd create one through G# (that i'll use as a template), create the bulk through standard interface and copy/paste the block diagram from the template.
08-11-2020 05:28 AM
Oh no! I'm wrong! The G# object only has a single attribute that'll you'll see through the normal interface! (it's the ref to the data cluster)