Wonderware Intouch question

IdealDan

Member
Join Date
May 2017
Location
MA
Posts
480
Hi Guy
1. Please how can I create a shutdown button on the intouch?


2. Also how can I configure graphical Trend for 9 different values/tags in it?
 
Do you want to shutdown the application or the computer?

If you want to shutdown or restart the computer, make a batch file and use the command "shutdown /s" or /r for restart to initiate shutdown. use the StartApp command in intouch to run the batch file.

To shutdown the WW application, you can use the WWControl command. I believe it would be this: WWControl (InfoAppTitle("View"),"Close");

Intouch version 10 and later have the 16 pen trend available, but I don't think it's installed by default.
 
An easier way to shut down the PC from inside Intouch app..
If you have access to download files from Wonderware...
Download this add-on:
"FactorySuite Script Function Library"

It will have these 2 files, which you place in the Intouch folder in program files directory.
WWTech32.wdf & WWTech32.dll

Then you will now have access to this command:
"WWShutDownWinNT40"

Make a button and make a Touch Pushbutton>action script with this command (using "On Left/Key Up")
WWShutDownWinNT40( 2 );


More info on command...

WWShutDownWinNT40 Shuts down Windows NT 4.0.
Function: Result = WWShutDownWinNT40( ShutDownFlag );
Return value: If an illegal ShutDownFlag is passed the return value will be a -2, if NT security will not allow the current user to shutdown NT or if there is a system error a -1 will be returned.
ShutDownFlag: (Integer) This tells the function how to shut the system down:
1 - Log the current user off NT.
2 - Shut down NT.
3 - Reboot the computer.

Example: This is how to cause Windows NT 4.0 to shutdown:

Result = WWShutDownWinNT40( 2 );

Note The user who is logged into Windows NT must have privileges to shut down or reboot the computer. The Windows NT security allows everyone the ability to log off the system. WWShutDownWinNT40() will force all applications to terminate at the time that the function is called.
 
Last edited:
Do you want to shutdown the application or the computer?

If you want to shutdown or restart the computer, make a batch file and use the command "shutdown /s" or /r for restart to initiate shutdown. use the StartApp command in intouch to run the batch file.

To shutdown the WW application, you can use the WWControl command. I believe it would be this: WWControl (InfoAppTitle("View"),"Close");

Intouch version 10 and later have the 16 pen trend available, but I don't think it's installed by default.
YES, How is this command applied? ''WWControl (InfoAppTitle("View"),"Close")''?
 

Similar Topics

Hello all, I'm using WonderWare Intouch at my factory for the HMI. Here is what I'm trying to accomplish: Save data values (27 of them) into one...
Replies
21
Views
7,442
(Solved) Howdy everyone, Quite a newbie here. Come from a programming background and fell into working with PLC (Logix 5000) and Wonderware...
Replies
1
Views
2,414
Ok, so this questions has two parts. First of all, I am creating a SmartSymbol with some indirect tags that I want to display in a generic pop...
Replies
0
Views
2,284
Hi, Please I need help regarding synchronization of data on both Primary and Secondary server. I got a client pointing into a Primary server, and...
Replies
2
Views
2,645
I'll preface this by saying that I am an Intouch beginner… I have an Allen-Bradley Compactlogix that currently stores recipes in an array[0-20]...
Replies
1
Views
4,055
Back
Top Bottom