you can use code like this:
Code: Select all
Function void mainLoopSetValue()
#startup
While (WindowIsOpen())
if (GetHour() == 20 && GetMinute() == 30 && GetSecond() == 0) then
SetNumGateValue("Test", 0, Rand(100));
SetNumGateValue("Test", 1, Rand(100));
SetNumGateValue("Test", 2, Rand(100));
SetNumGateValue("Test", 3, Rand(100));
SetNumGateValue("Test", 4, Rand(100));
SetNumGateValue("Test", 5, Rand(100));
end
Sleep(1000);
end
end