Yes, you can do this by code, for example:
Code: Select all
Function void mainLoopSave()
#startup
int prevValue = GetDigGateValue("Test", 0);
While(WindowIsOpen())
if (GetDigGateValue("Test", 0) != prevValue) then
ReportAppendRecord("myDatReport");
prevValue = GetDigGateValue("Test", 0);
end
Sleep(300);
end
end