WINCE 6.0 - find HMI unique ID to use in VBscript

lexje

Member
Join Date
Nov 2014
Location
Antwerp
Posts
2
Hi,

I'm looking for a method to uniquely identify TP1200 HMI panels.
At first we tried to use this:
Code:
Dim object
Dim computerName

Set object = CreateObject("WScript.Shell")
computerName = object.ExpandEnvironmentString("%COMPUTERNAME%")
But this does not work on WINCE.
Then I found this post http://www.plctalk.net/qanda/showthread.php?t=82339
talking about
Code:
Try system function startprogram.
This example will open cmd window and ping the local host
     Code:
     StartProgram "CMD", "/C ping 127.0.0.1", hmiShowmaximized, hmiyes
Does anyone know of a way to get the panel hostname in this way and copy it into a WINCC usable tag or string?

Would there any way to catch the MAC address for this purpose?

Thanks a lot for helping out!
 

Similar Topics

Hi, I have soft PLC Beckhof CX1020. This runs on WinCE 6.0 problem is when i connect touch display to usb port, touch screen don't work...
Replies
0
Views
1,031
I want to call an executable (or .bat-file )from inside a script using WinCC Flexible 2007. :scratch: Searching the net always seems to return...
Replies
6
Views
5,590
Before I get flamed I did try searching for this but there was very little posted about WinCE. I am starting to get tired of having to program...
Replies
8
Views
4,765
Does anybody out there know if there is any monitoring software for Siemens S7 300/400 or S5 series that can be used with a pocket pc running...
Replies
3
Views
6,313
Hello to all, I'm trying to figure out how to get a Windows CE touchscreen to run an application developed in VisualStudio.NET to talk to an...
Replies
1
Views
2,053
Back
Top Bottom