Legacy Hardware and Apps
DeLogger 5 chart losing time

Hi,

I have a chart with 6 Channels showing - (DT800, connected via 100m Ethernet). They are all reading great however the longer it runs the further behind the chart seems to get.

I want to see the chart in real time as we have the monitor on our test bench and we need to see the reactions to changes we make to our test bed in real time.

The only way to get the chart view up to real time (momentarily before it starts lagging again) is to click the pause and configure buttons and then ok and unpause, for a small amount of time the chart will show real time data and then regress.

Have you experienced this issue and is there anything I can do about it?
Cheers

Ben Harper

Hi, I have a chart with 6 Channels showing - (DT800, connected via 100m Ethernet). They are all reading great however the longer it runs the further behind the chart seems to get. I want to see the chart in real time as we have the monitor on our test bench and we need to see the reactions to changes we make to our test bed in real time. The only way to get the chart view up to real time (momentarily before it starts lagging again) is to click the pause and configure buttons and then ok and unpause, for a small amount of time the chart will show real time data and then regress. Have you experienced this issue and is there anything I can do about it? Cheers Ben Harper

I have found the offending channel, but not the reason why.
My averaged flow counter from schedule C is slowing things down, Im going to leave it out for now as for some reason I can get it accurate anyway.
The calcs to average the flow counter seem to happen in good time so I dont know why its slowing down the graphing, maybe it has something to do with the different rates the samples are running at in the different schedules?

JOB=PILOT
BEGIN"PILOT"
CATTN
'Spans and polynomial declarations
S1=0,16,0,100"Bar"
S2=0,232.06038,0,100"PSI"
S3=0,1000,0,22000"ML"
Y4=0,.04545454545"ml/h"
Y5=0,.04545454545"m3/s"
S6=0,100,0,100"Meters"
S7=0,100,0,100"Watts"
Y8=0,.04545454545"L/H"
S9=0,300,0,104"MM"
Y10=0,.04545454545"ml/m"
'Thermistor declarations
'Switches declarations
/O
'Parameter declarations
P47=5
'Global declarations
RS1S
'main schedule definitions

'schedule definition
RA500T LOGONA GA
4L(S1,"SysPressure_Bar",50,=5CV)
4L(S2,"SysPressure_PSI",50)
8CV(S6,"Head")=5CV*10.19716213
2V("Stack_Voltag",NL,NR,=2CV)
3V("Float_Voltag",NL,NR,=3CV)
2CV("Cyl_CM")=(2CV/(1CV/1024))
3CV("Wave_CM")=(3CV/(1CV/1024))
11CV("FloatStackDiff",NL)=2CV-3CV
1V("DT_5Vdc",NL,NR,=1CV)
5C(R,"MeasIN",NR,-=15CV)
6C(R,"MeasOUT",NR,+=15CV)
15CV("Measurement",NR)
16CV(S9,"Stroke")=15CV

RA500T LOGONA GB
PS=9600,N,8,1,NOFC
RA200T
1SERIAL(RS232,"\eGS%1s[' ','-',50CV]%f[51CV]%s",FF3)
45CV("Load~KG",FF3)=(51CV
(50CV<.5))+(0-51CV*(50CV>.5))

'schedule definition
RC1S LOGONC GC
30CV(W)=29CV
29CV(W)=28CV
28CV(W)=27CV
27CV(W)=26CV
26CV(W)=25CV
25CV(W)=24CV
24CV(W)=23CV
23CV(W)=22CV
22CV(W)=21CV
21CV(W)=9CV
31CV("AVG_ml/m",W)=(30CV+29CV+28CV+27CV+26CV+25CV+24CV+23CV+22CV+21CV)/10
1C(R,"FlowCounter",RS,=4CV)
6CV(Y4,"Flow-ml/h")=4CV6060
7CV(Y5,"Flow-M3/s")=6CV/1000/1000/3600.04545454545
9CV(Y10,"Flow-ml/m")=4CV
60
10CV(Y10,"AVG_Flow-ml/m")=31CV
41CV=41CV+4CV
40CV(DT)=40CV
END

I have found the offending channel, but not the reason why. My averaged flow counter from schedule C is slowing things down, Im going to leave it out for now as for some reason I can get it accurate anyway. The calcs to average the flow counter seem to happen in good time so I dont know why its slowing down the graphing, maybe it has something to do with the different rates the samples are running at in the different schedules? JOB=PILOT BEGIN&quot;PILOT&quot; CATTN &#039;Spans and polynomial declarations S1=0,16,0,100&quot;Bar&quot; S2=0,232.06038,0,100&quot;PSI&quot; S3=0,1000,0,22000&quot;ML&quot; Y4=0,.04545454545&quot;ml/h&quot; Y5=0,.04545454545&quot;m3/s&quot; S6=0,100,0,100&quot;Meters&quot; S7=0,100,0,100&quot;Watts&quot; Y8=0,.04545454545&quot;L/H&quot; S9=0,300,0,104&quot;MM&quot; Y10=0,.04545454545&quot;ml/m&quot; &#039;Thermistor declarations &#039;Switches declarations /O &#039;Parameter declarations P47=5 &#039;Global declarations RS1S &#039;main schedule definitions &#039;schedule definition RA500T LOGONA GA 4L(S1,&quot;SysPressure_Bar&quot;,50,=5CV) 4L(S2,&quot;SysPressure_PSI&quot;,50) 8CV(S6,&quot;Head&quot;)=5CV*10.19716213 2V(&quot;Stack_Voltag&quot;,NL,NR,=2CV) 3V(&quot;Float_Voltag&quot;,NL,NR,=3CV) 2CV(&quot;Cyl_CM&quot;)=(2CV/(1CV/1024)) 3CV(&quot;Wave_CM&quot;)=(3CV/(1CV/1024)) 11CV(&quot;FloatStackDiff&quot;,NL)=2CV-3CV 1V(&quot;DT_5Vdc&quot;,NL,NR,=1CV) 5C(R,&quot;MeasIN&quot;,NR,-=15CV) 6C(R,&quot;MeasOUT&quot;,NR,+=15CV) 15CV(&quot;Measurement&quot;,NR) 16CV(S9,&quot;Stroke&quot;)=15CV RA500T LOGONA GB PS=9600,N,8,1,NOFC RA200T 1SERIAL(RS232,&quot;\eGS%1s[&#039; &#039;,&#039;-&#039;,50CV]%f[51CV]%*s&quot;,FF3) 45CV(&quot;Load~KG&quot;,FF3)=(51CV*(50CV&lt;.5))+(0-51CV*(50CV&gt;.5)) &#039;schedule definition RC1S LOGONC GC 30CV(W)=29CV 29CV(W)=28CV 28CV(W)=27CV 27CV(W)=26CV 26CV(W)=25CV 25CV(W)=24CV 24CV(W)=23CV 23CV(W)=22CV 22CV(W)=21CV 21CV(W)=9CV 31CV(&quot;AVG_ml/m&quot;,W)=(30CV+29CV+28CV+27CV+26CV+25CV+24CV+23CV+22CV+21CV)/10 1C(R,&quot;FlowCounter&quot;,RS,=4CV) 6CV(Y4,&quot;Flow-ml/h&quot;)=4CV*60*60 7CV(Y5,&quot;Flow-M3/s&quot;)=6CV/1000/1000/3600*.04545454545 9CV(Y10,&quot;Flow-ml/m&quot;)=4CV*60 10CV(Y10,&quot;AVG_Flow-ml/m&quot;)=31CV 41CV=41CV+4CV 40CV(DT)=40CV END

Hi Ben,

Why did you set schedule A with 3 different intervals (2 x 500T and 1 x 200T)?

RA500T LOGONA GA
4L(S1,"SysPressure_Bar",50,=5CV)
....

RA500T LOGONA GB
PS=9600,N,8,1,NOFC
RA200T
1SERIAL(RS232,"\eGS%1s[' ','-',50CV]%f[51CV]%s",FF3)
45CV("Load~KG",FF3)=(51CV
(50CV<.5))+(0-51CV*(50CV>.5))

The program will follow the last setting, so schedule A will read 2 x current loops, 3 x voltage, 2 x counter, 1 serial and calculation channel in 200 ms.
At 200 ms the time frame is at critical point (meaning one set of reading may surpass 200 ms), so it is possible you may lose some interval which caused your graphic seems slowed down.
Please try to set your serial reading as schedule B (RB500T) and delete RA200T.

There is nothing wrong with your running average in your schedule C.
It should not slowed down your graph.

Best regards,
Rudy Gunawan

Hi Ben, Why did you set schedule A with 3 different intervals (2 x 500T and 1 x 200T)? RA500T LOGONA GA 4L(S1,&quot;SysPressure_Bar&quot;,50,=5CV) .... RA500T LOGONA GB PS=9600,N,8,1,NOFC RA200T 1SERIAL(RS232,&quot;\eGS%1s[&#039; &#039;,&#039;-&#039;,50CV]%f[51CV]%*s&quot;,FF3) 45CV(&quot;Load~KG&quot;,FF3)=(51CV*(50CV&lt;.5))+(0-51CV*(50CV&gt;.5)) The program will follow the last setting, so schedule A will read 2 x current loops, 3 x voltage, 2 x counter, 1 serial and calculation channel in 200 ms. At 200 ms the time frame is at critical point (meaning one set of reading may surpass 200 ms), so it is possible you may lose some interval which caused your graphic seems slowed down. Please try to set your serial reading as schedule B (RB500T) and delete RA200T. There is nothing wrong with your running average in your schedule C. It should not slowed down your graph. Best regards, Rudy Gunawan
22
2
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