Best Ignition equivalent to PV+ "Local Message Display"

This topic sent me down a rabbit hole hunting for a minimalist way to include tag values in python one-liners, suitable for use with the runScript() function or my objectScript() function.
I thought “could I use python’s getattr() special method for this?” And lo, the heavens were opened and the sea withdrew:

# Read the tag '[default]MyFolder/MyTag' as a python object:
print shared.tag.default.MyFolder.MyTag.value
# And write to it, too:
shared.tag.default.MyFolder.MyTag.value = 123
# Along with the engineeering units, documentation string, opc path,
# and all its other properties, too:
print shared.tag.default.MyFolder.MyTag.engunit

The magic is in the attachment :smiley:
There’s a minor dependency on the mungeColumnName() function from the Simulation Aids module, but that could be reworked if you need to.
While playing with this, I noticed that client tags, that normally only display Value, Name, and tooltip in the tag browser, will accept writes to some other properties (like engunit), and remember them through project save/close/open cycles. I didn’t test this exhaustively, but it is a really dirty solution to one of my Ignition wishlist items. :laughing:
tag.py (7.2 KB)