Hi,
I have an application where power is being monitored which i have functioning OK but I need to log how long in secs the power is switched on. I have the output from a power transducer scaled and converted to kWh.
The power being switched by relay from a DSO how can I monitor On Time. I have tried the example from the online code examples
begin
10CV=0
ra1s
1v(=1cv)
if(10CV<0.5)and if(1CV>2000)"Light is On ^M^J"{[ T(=2CV) 10CV=1]}
If(1CV<2000)"Light is Off ^M^J"{[ T=(3cv) 10CV=0]}
4CV("On Time ~Sec")=3CV-2CV
end
But I cannot get this to work as it tells me that there is syntax error or command error etc. and the DT800 does not then accept the program, i was loading the program on to the DT800 through the text window in Delogger. Can I time the on state of the DSO output.
Regards,
Stephen
Hi,
I have an application where power is being monitored which i have functioning OK but I need to log how long in secs the power is switched on. I have the output from a power transducer scaled and converted to kWh.
The power being switched by relay from a DSO how can I monitor On Time. I have tried the example from the online code examples
````
begin
10CV=0
ra1s
1v(=1cv)
if(10CV<0.5)and if(1CV>2000)"Light is On ^M^J"{[ T(=2CV) 10CV=1]}
If(1CV<2000)"Light is Off ^M^J"{[ T=(3cv) 10CV=0]}
4CV("On Time ~Sec")=3CV-2CV
end
````
But I cannot get this to work as it tells me that there is syntax error or command error etc. and the DT800 does not then accept the program, i was loading the program on to the DT800 through the text window in Delogger. Can I time the on state of the DSO output.
Regards,
Stephen