From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-21-2017 05:11 AM
These properties shows if a VI was modified but not saved:
(at least, I believe so:)
Is there a way to check if LVLIB of LVCLASS was modified? I cannot find corresponding properties.
Thank you
Solved! Go to Solution.
10-21-2017 11:02 AM
Maybe out can use the class's version. It's automatically updated when the interface is changes. Not sure exactly when this happens, but at least when changing scope of vi's. You'll probably have to check all individual vi's as well. The class and it's vi's are separate entities.
10-21-2017 08:34 PM
10-22-2017 01:30 AM
wiebe@CARYA, paul_cardinale
Thank you for replies.
wiebe@CARYA, I can check individual VI-s in LVLIB (or class) but I cannot find a way to check the library. For example was a VI added or removed? I do not think that reading of the version could help because previous version is unknown.
paul_cardinale, I tried your suggestion. It does not work for me. This is the code:
The result is always False despite unsaved changes in number of VI-s belonging to libraries and despite to changes in FP and/or BD of these VI-s.
What do I do wrong?
10-22-2017 06:01 AM
I found solution. At least, I believe so. There property Modifications Bit Set is equal to zero only if the LVLIB has been saved and not modified after that. Different non-zero values probably indicate character of non-saved changes but it is not important for me now.
It does not reflect changes of library members, so the library member must be questioned one by one.
03-20-2018 04:59 AM
How do you reach the Library properties in the diagram editor? I can't find any of Mods, HasEditsInThisContext or HasEditsInAnotherContext. According to http://digital.ni.com/public.nsf/allkb/2FF365A6FAB7B34786257ACD004BA15A, brown color in the property node means properties are internal or private. Is there a way to enable them?
03-20-2018 10:20 AM
It's one of the items in the first set.
Note: Never use private properties or methods in deployable code.
03-21-2018 05:52 AM
Thank you, these secret settings made the properties available for me.