Legacy Hardware and Apps
Time

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&lt;0.5)and if(1CV&gt;2000)&quot;Light is On ^M^J&quot;{[ T(=2CV) 10CV=1]} If(1CV&lt;2000)&quot;Light is Off ^M^J&quot;{[ T=(3cv) 10CV=0]} 4CV(&quot;On Time ~Sec&quot;)=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

First thing would be to replace all the lower case command and channel characters.
The DT800 will spit them back out, unlike the DT80 which will accept lower or upper case.

First thing would be to replace all the lower case command and channel characters. The DT800 will spit them back out, unlike the DT80 which will accept lower or upper case.
16
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft