Intouch Tag Updating Problem

ThePortLion

Member
Join Date
Oct 2007
Location
Ireland
Posts
58
Hi

I am using Wonderware Intouch 7.1 and have been for quite
a while. Recently I have been having problems with my
application after installing it on new Lenovo desktop pc's.
The application has been running on several other (NT,XP,2000)
machines for years now.
There is a button which, on key down, loads a series of
values from an excel file in .csv format to tags in InTouch.
It's a fairly simple piece of scripting. The excel file resides
in a recipe folder inside the application folder. I am pointing
into the recipe folder and using "RecipeSelectRecipe" and
"RecipeLoad" commands to grab the data.
The problem is I cannot get this script to execute on the new machines. I installed whatever patches were required after
I installed Wonderware. I have tried everything I can think of
so maybe someone has experienced this before.

Thanks in advance.
 
You didn't mention what Operating System your new PC's are using....





. -
 
What error code is the RecipeSelect and RecipeLoad function returning? If you aren't calling it with an errorcode, change your script to do so...Something like:

MemoryIntTag = RecipeLoad(blah, blah)

Then evaluate the value of MemoryIntTag
 
The MemoryInt is not returning anything (0). On the pc's that work it returns a value of (-9).
It executes the first couple of lines of script but ignores
or does'nt recognise the recipe commands i think.
 
An errorcode value of 0 is good - it means that the called recipe function executed correctly.

An errorcode value of -9 is bad - it means that the recipe name was not found in the recipe template file.

A useful tool to use when trouble shooting is the LogMessage() function. This is used to write a time-stamped message/tag value to your WW logger from within a script. By adding this at strategic places throughout your script you can get an idea of what is working and what isn't. Don't forget to remove them when you're finished.

When you said that you applied all the necessary patches, did that include running of the Intouch OS Configuration Utility?

.... .....
 

Similar Topics

hello. In Intouch, I want the color of the alarm window in the header menu to change depending on the priority value of the tag. To do this, I...
Replies
0
Views
89
and then when i open the windowmaker, intouch is shutdown... that's not work that's demo I have 30days demo
Replies
3
Views
193
Hi all, I am using OI.GATEWAY.2 to communicate to the PLC using an OPC UA. I can see the tags using an OPC explorer connecting to the...
Replies
0
Views
207
When using System Platform, I can use the object viewer to directly manipulate attributes/tags/whatever. When I have a standalone InTouch...
Replies
11
Views
1,007
I have an InTouch HMI that has PID parameters. I need to find what the PID values were in the past. I have backups from the past, but none...
Replies
48
Views
5,594
Back
Top Bottom