Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA Edge
  • AVEVA Edge Tech Notes

TN 1158 Launching LogWin From From An Edge Application

Last updated: February 28th, 2025

Description

  • Author: Mario Meza
  • Published: February 28th, 2025

Details:

Description

This article from InSource shows a couple options for launching the LogWin Utility from within a running Edge application.

  • Author: Mario Meza
  • Published: 06/16/2021
  • Applies to: AVEVA InTouch Edge 2020 and above

Details

For this example I added a Test Button to a screen.

Right Click and select Properties

In Object Properties for the button under the OnDown tab:

You can use EXEC which a built in scripting function to launch the utility from command line input or from a batch file. 

In order for it to work in the VB script editor it must be prefaced with a ($)

The first example uses the EXEC function by passing command line Input

The second example uses the EXEC function to execute a batch file. (update the highlightedted path to reflect the path to the batch file in your environment.)

'Command Line Input:
$Exec("""" & $GetProductPath() & "Bin\LogWinExt.exe"" /dsip:localhost /dsport:1234""")

'Batch File:
$Exec("CMD /C call C:\Users\dNichi\Desktop\logwin.cmd",0,0,"execHandle")

Batch File Contents:

start /b /d "c:\Program Files (x86)\AVEVA\AVEVA Edge 2020\Bin\" LogWinExt.exe /DSIP:192.168.0.51 /DSPORT:1234

launch logwin edge integration
Give feedback about this article

Recommended articles

TN - 1240 Creating a Watchlist Using an Import File

Read More

TN 1242 Aveva Historian Storage Locations and Best Practices

Read More

TN 1469 Creating an Industrial Graphic directly from a Tag in 2023 R2

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand