Trouble with Tag Event Script on Value Change

I would like to call a project script from a tag value change event, but it does not look like the value changed even fires. I have tried changing the name of the function to something non-existent, hoping for an error, but get nothing. I have tried changing the value of another memory tag, and get nothing.
This should be so simple but has me stumped. (Small caveat: this is Monday, so...)

	if previousValue and currentValue:
		value = currentValue.value
		system.tag.writeBlocking(["[default]Testing Tags/Temp_Data/ID"], [value])

This simple script should work, right???

	if previousValue and currentValue:
		value = currentValue.value
		scriptLibrary.package.script.func01(value)

Should work?

This is only possible for scripts residing in the configured Gateway Scripting Project: Project Library | Ignition User Manual

1 Like

Yep, got that.

But, um, I just figured it out. I did not see that "Enabled" checkbox in the upper right... :man_facepalming:
I hate Mondays, :sweat_smile:

3 Likes