9/10/2007 10:27 PM | |
Joined: 5/19/2006 Last visit: 12/3/2024 Posts: 549 Rating: (107)
|
Hi, Your code works fine; object w = oType.InvokeMember("GetValue", System.Reflection.BindingFlags.InvokeMethod, null, o, new object[] { "TAG-NAME" }); AttachmentWinCC-Runtime-Project.zip (822 Downloads) |
9/12/2007 12:27 PM | |
Posts: 37 Rating: (0) |
Thanks for that. The problem I had was that I was trying to set a tag that was linked to a non-existant PLC. I created a local tag and that worked fine. |
3/25/2014 1:04 PM | |
Joined: 9/1/2005 Last visit: 12/3/2024 Posts: 4114 Rating: (195) |
follow up question published by naveen_paliwalis split to a sperate thread with the subjectWinCC flexible: Setting/Getting tags using C# Best regards CS Moderator |
My Forum is the place to personalize your profile, |
|
Follow us on