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")=4CV60
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"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")=4CV*60*60
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