05-02-2017 08:52 AM
Is there a way to figure out the entries history on an Enum? I have a vi with about 21 enums of which only three of them have default values. It absolutely has zero documentations and comments so that I would have a starting point.
Thank you,
05-02-2017 09:24 AM
I'm not sure what you mean by an enums history. Do you mean the history of editing an enum? If so, I don't think there is a way to know that. When you say that you have 21 enums, do you mean 21 individual enums, or essentially 21 copies of the same enum but 3 are different in that they have a "default" value? If they are 21 copies of the same enum it sounds like a good candidate for a making a "typedef" of the enum, though you will have to then replace the other 20 or so by hand. But then any future changes will be propagated to all instances. If there are 21 individual ones, well that is a different story. What are you trying to determine, using a history?
05-02-2017 10:26 AM
Hello Putnam, sorry to confuse you I was trying to be compact.
I have 21 "different" enums. I needed to know the values history that were entered in them while running or at least the last entry on each. I've never bothered thinking about history with LabVIEW until now. The vi isn't mine it is a relatively old one on a PC seems to have been used to control an old set of instruments. I'm trying to revive the system to put it into use mechanically and operationally. From the manuals I should be able to guess the range of voltage entries but the rest no. Three of them have default values. The rest I have no clue yet. It seems it will take lots of trial & error for the vi after the instrument is fixed.I am trying to save myself time.
Thank you,