Ok, upgraded to 9.30 and created a variant. Then updated the getCurrnentTime() method:
$if !$prototyper && ( $platform == *.WebGL.* )
Device.HMI_GetTime(); // calls my Websocket code and stuffs Device.HMI_time with unix epoch
result = Device.HMI_time;
$endif
But I keep just getting 0 from currentTime.Time:
var Core::Time currentTime = Time.CurrentTime;
SecondText.String = string(currentTime.Time);
I know HMI_time (uint32) is being stuffed... do I need to do a cast on it before stuffing it into var result ?