FTV SE Tag Value Change Notification

AMarks95

Member
Join Date
Jul 2018
Location
South Dakota
Posts
224
Hello all, wondering if there's a simple way to detect when a tag's value has changed.

I have some tags whose values get updated every so often from an SQL query event I've created (DB is managed by another application). I would like to be able to notify the operator when the new DB value does not match the current value. I'm intending to tie a GUI object to this detection tag to show the user which values have changed.

Thoughts?
 
For those curious, I have accomplished this via VBA code.

There is a button that the operator can press to force an update from the SQL database, and the hourly update just activates this button.

I have added code to the button to check the current value of the tag against the new value from the database, before setting the tag's new value, and raise a flag. This flag is tied to an indicator on the screen.
 
I was thinking an Event to trigger background VBA code.

That was my initial thought as well, but since I had the VBA code for the button and it was being called every hour anyway, it made more sense to add it there.

How would you go about creating the event?
 
That was my initial thought as well, but since I had the VBA code for the button and it was being called every hour anyway, it made more sense to add it there.

How would you go about creating the event?


I don't remember. I have to check the help file every time I use it.
 

Similar Topics

I asked this question briefly in my previous post long post, I'm asking again here as the main point so it doesn't get buried. I am pretty new at...
Replies
3
Views
1,520
I have spent multiple hours looking for a solution for the following problem. I have an HMI application that is meant to be installed at 3...
Replies
1
Views
1,205
My SE project will end up being connected to two processors (1766-L32 & 1769-L33). Is there any way to let FTV Studio (SE) connect to both...
Replies
1
Views
671
Wondering if anyone has seen this before and has a quick fix. Often times, when I'm modifying or creating a display, I'll copy/paste components...
Replies
1
Views
1,055
I upgraded my laptop to windows 10, and most of my programming software works great. However, FTV Studio has been freezing or lagging when I open...
Replies
5
Views
2,525
Back
Top Bottom