G#

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with code generation and LV Native class

Hello,

I'm using StarUML to generate class hierarchy. Until now I've only genrate class from G# template and everything worked fine. Today I need to generate natilve lvclass and I ome across the following bug: template object input and output are not replace by new object class during generation process. Simple uml file in attachment can demonstrate the issue.

2 other minor things to note using code generation from starUML:

  1. If clas name contain characters not allowed by Windows like "/", class is not generated, generator ui stop without showing error message.
  2. If you set an initialValue to a class attribute, it's not reported as default value in LabVIEW

Regards,

Olivier


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
0 Kudos
Message 1 of 5
(4,979 Views)

Hello Olivier!

I'll check your example and see what I can figure out.

The minor ones. 1. Yes. Not good. I'll fix a better error message. 2. This is not implmenented, but it would be a nice feature. I'll se if this can be implemented in the next release!

Thanks!

Andreas

0 Kudos
Message 2 of 5
(4,031 Views)

Hello Andreas,

I look forward to hearing about your investigation. Feel free to ask me more information or test if it could be useful for you.

Thanks for your quick answer.

Regards,

Olivier


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
0 Kudos
Message 3 of 5
(4,031 Views)

Fox_Mccloud wrote:

2. This is not implmenented, but it would be a nice feature. I'll se if this can be implemented in the next release!

In the same topic, having "Visibility" parameter in startUML applied to VI scope in LabVIEW would be great

Forget this request, it's already implemented !

Thanks

Message was edited by: Olivier Jourdan


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
0 Kudos
Message 4 of 5
(4,031 Views)

Fox_Mccloud wrote:

  2. This is not implmenented, but it would be a nice feature. I'll se if this can be implemented in the next release!

I also agree this would be a good feature to add.  Unfortunately at present we're losing out on the power of LabView to set default values of controls.   Currently it seems we have to add code to the constructor to set default values...which can be a bit nasty if the object has a lot of properties.

0 Kudos
Message 5 of 5
(4,031 Views)