10-14-2010 07:32 PM - edited 10-14-2010 07:34 PM
@JackDunaway wrote:
@PJM_JKI wrote:
There would need to be a lot of improvements made in the LabVIEW IDE before I would consider using classes for every cluster.
Can you elaborate on this?
I did start posting some stuff on this idea that you have on the idea exchange. I will copy (and expand on) what I said over there.
10-14-2010 11:35 PM
> Additionally, I would love to be able to see class dependencies (association, composition,
> aggregation) in a graphical way (there is nothing available to visualize this at the moment in LabVIEW).
This is why we asked Endevo (now Symbio) to build the UML tool. I wish it was part of LV itself, and I wish it wasn't coupled with the rest of the GOOP Dev Suite (because that encourages people to use the reference classes and burn themselves). But despite these drawbacks, it is a great tool, and it gives you the graphical relationship description/modification powers that you're seeking. I have worked with Mikael every LV release to make sure his tool works in the current version and gets rev'd for any new features that LV has added, and though I'm transitioning away from working on LV classes, I assume that support will be continuing through other members of my team. In time, LV will probably have something like this natively, but for now, that tool is what I would point you toward. And, yes, I'm aware that it costs money that you might not be able to afford. Again, I wish we had it as part of LV. There just aren't enough developers to cover all the hopes and dreams. *sigh*
10-15-2010 04:16 AM
PJM, you reply posted above pushed me to write down my idea suggestion on showing class associations.
Felix
10-15-2010 07:49 AM
Agreed.
UML is the natural answer to that need.
Ben
10-28-2010 10:45 PM - edited 10-29-2010 08:04 AM
Aristos Queue wrote:...my opinion, typedef clusters are dinosaurs and the meteor is in the sky.
Alright, I took the challenge and developed a framework completely typedef-less.
(Well, not exactly true... I was forced to use a few typedefs for compatibility from the vi.lib such as LVPointTypeDef.ctl, imagedata.ctl, and then the typedefs associated with creating XControls such as Data, State...I didn't introduce any typedefs is a more accurate statement)
I challenge you to find a place in the framework where a typedef would be more elegant, more robust, or just more better. I really want to hear criticisms, especially from those who have responded in this thread, because this is the first time I've released a sizable amount of my code to be reviewed by the community. Be brutal.
(I used strings for states in a state machine - that's one place where I'd rather not debate string vs. typedef'd enum, because both camps have good arguments)
While you're at it, send a vote my way ![]()
10-29-2010 07:30 AM
@JackDunaway wrote:
Aristos Queue wrote:...my opinion, typedef clusters are dinosaurs and the meteor is in the sky.
Alright, I took the challenge and developed a framework completely typedef-less.
(Well, not exactly true... I was forced to use a few typedefs for compatibility from the vi.lib such as LVPointTypeDef.ctl, imagedata.ctl, and then the typedefs associated with creating XControls such as Data, State...I didn't introduce any typedefs is a more accurate statement)
I challenge you to find a place in the framework where a typedef would be more elegant, more robust, or just more better. I really want to hear criticisms, especially from those who have responded in this thread, because this is the first time I've released a sizable amount of my code to be reviewed by the community. Be brutal.
(I used strings for states in a state machine - that's one place where I'd rather not debate string vs. typedef'd enum, because both camps have good arguments)
While you're at it, send a vote my way
Was I suposed to be able to find some code at that first link?
Ben
10-29-2010 07:43 AM