How to invoke a VBA function?

briana banks

Member
Join Date
Jul 2005
Posts
242
Hi All


I need to invoke a vba function that i wrote, whenever a tag
is set.
How to do that without using infinite loop that samples
a variable condition

Thanks.
 
I'm assuming this is for RSView SE...

Display the tag as an object on the screen, in an always present window (it may be hidden off screen).

Give that thing, lets say a numeric display, a name (Properties)... Say, "MyTagWatcher". In the properties box (the full one, not the basic one from double-clicking) under VBA Control, say 'Expose To VBA'. Now right click, and edit the VBA code for that object. It will default to being an 'On Change' event.

Note, that this will catch all changes, 0 to 1 and 1 to 0 for a digital tag, but a simple 'If Then Else' can ignore one state or the other.
 

Similar Topics

Hi fellow automation people, FactoryTalk View SE V13 Network I am trying to setup a generic popup trend where I can switch it between...
Replies
0
Views
183
I'm using ftview 13 with rslogix v35. I want to use a button to reset all alarms coming from process CPU L83-EP. I tried using invoke method to...
Replies
10
Views
1,875
I'm working on a conversion project from RSVIEW32 --> FTViewSE 7.0. A lot of Macros have an "Invoke" command - what does that do? I'm not...
Replies
2
Views
2,341
Hi, I am wondering if anybody still remembers this software, but why not to try. I have an MS Access database, RSView32 7.40 with Active Display...
Replies
9
Views
3,945
Hi, I am working with Factory Talk View SE and trying to caal or invoke the methods attached to my ActiveX, How can I do that. I am sending the...
Replies
5
Views
2,819
Back
Top Bottom