Write A Value To A Listbox With Vbscript (Wonderware/intouch) Follow

0
Avatar
Legacy Poster

Hey,
I have a question about scripting in Wonderware InTouch
 
I have a analog tag that reads a value when a fault occurs 
(Ex: Fault 17 = Motor Run Failure)
 
I would like to have these faults populate into a ListBox in Wonderware
The Centurion Controller that I'm monitoring stores 20 faults 
in the controller & I would like to 
do the same on the Wonderware screen.
 
I have been doing some reading and have found that by using the "wcInsertItem"
function would do this, but I'm not sure how to achieve this.
 
 
I have not been able to get this to work, I have attached a screen shot
If you dont mind could you take a look at it and see what Im doing wrong
or they may be a better way of doing this?
 
 
Thanks alot
 

1 comments

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

You don't seem to be using the BarTender software.  Are you sure you've posted your question to the correct forum?  We have nothing to do with the Wonderware/intouch software.

Please sign in to leave a comment.