LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Diagram disable structure edit case labels

Hello,

 

Just started working with LabView 2019. Noticed something strange. I was able to change case labels in the diagram disable structure by just using the text tool.

 

However for all new created diagram disable structures in LV2019 this isn't possible anymore. I can still rename cases on 'old' case structures. I can also copy these to other vi's and then it still works. (see attach).

 

I use these labels a lot to indicate different 'tests' and when updating stable SW to keep track of known-good implementation.

 

Anyone has similar experience/solution? (not the subdiagram label, this is less convenient)

 

---

25+ years long fan of LabVIEW. Move to Emerson looks to be for the better! See the last posts in subscription model thread.
0 Kudos
Message 1 of 4
(1,905 Views)

Looks like a bug that was fixed.  It doesn't make any sense to have cases other than 'Enabled' and 'Disabled'.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 4
(1,897 Views)

Seems indeed that this function has been removed in the new version. I think it is a bug that the feature has been removed. The default names Enabled and Disabled are a good choice of course.

 

However more flexibility in case label in my opinion is not a bug but a feature. Especially when you can have multiple cases and you can switch between them. No need to limit this IDE to what text languages can do...  

 

It is already clear which case is enabled in two ways:

- The [*] in the label

- The circuit isn't greyed out.

 

However I think it is/was a great feature to change case labels:

- The label can include a version number of the implementation (and/or a date)

- The label can include information what the difference is between implementations

- The label can include why a piece of diagram has been disabled

 

Of course this can all be added in the subdiagram label or other comment methods. However:

- This takes up extra space which may require some moving around other parts

- It takes a few clicks more to get there

 

 

And most of all:

- If you just click on the label itself with the 'finger tool' you get a list of all labels (iterations) of this disable structure. Using named cases you can in one click see why the disable diagram is here and what iterations have been made.

 

 

I created an idea suggestion, just in case:

https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Re-enable-case-label-editing-for-diagram-disable-stru...

 

---

25+ years long fan of LabVIEW. Move to Emerson looks to be for the better! See the last posts in subscription model thread.
0 Kudos
Message 3 of 4
(1,789 Views)

In HeapPeak there's an option typeEnableMode. This is true for the left, false for the right structure. 

 

It might be a bug that this flag was set to true, but it is anticipated behavior.

 

There's no property to change it.

 

Some guesses:

Future use, maybe?

Or someone toyed with it and didn't like it?

Could be an internally used shortcut for Type Specialization or Conditional Disable Structures (they are flavors of the same structure). Although typing text in those (after replacing) simply reverts.

 

The idea exchange seems like the way to go...

0 Kudos
Message 4 of 4
(1,777 Views)