7/25/2025 1:56 PM | |
Joined: 6/24/2025 Last visit: 8/5/2025 Posts: 1 Rating:
|
Hello, What am i doing wrong here because I change the value of "test" tag, and i console the value from the field and it is as it should be, but the value that i console from the function inside CreateSub... ex: t.Value, is undefined... the same for all the other "t" properites...
export function __BoxData_OnLoaded(item) { // //to be deleted console.log("Loading Page!"); let subs = HMIRuntime.Tags.CreateSubscription("test", function(t) { console.log("Log Tag: " + t.Value + " _ " + t.Name); console.log("ErrorDescription: " + t.ErrorDescription); console.log("LastError: " + t.LastError); }); subs.Start(); }------------------------------------------------------------------------------------------ |
Last edited by: Wit_Moderator at: 07/28/2025 09:01:29New subject after splitting |
|
Follow us on