Greetings,
I had some issue with a cr100 with 3 mutliplexer AM16/32 :
BeginProg
Scan (30,Min,1,0)
Battery(etaBatt)
PanelTemp(tempInt,_50Hz)
PortSet(2,1) 'Mux1
indMux1=1
SubScan(12,Sec,12)
PulsePort(1,10000) 'C1 CLK MUX1
BrHalf (rpTherm(indMux1),1,mV2500,7,Vx1,1,2500,True ,0,_50Hz,1.0,0)
rTherm(indMux1)=(rpTherm(indMux1)/(1-rpTherm(indMux1)))*100
Therm(indMux1)=1/((1.4051*10^(-3))+(2.369*10^(-4)*LN(rTherm(indMux1)))+(1.019*10^(-7)*((LN(rTherm(indMux1)))^3)))-273.2
indMux1=indMux1+1
NextSubScan
PortSet(2,0)
PortSet(3,1) 'Mux2
indMux2=13
SubScan(12,Sec,12)
PulsePort(1,10000) 'C1 CLK MUX1
BrHalf (rpTherm(indMux2),1,mV2500,7,Vx1,1,2500,True ,0,_50Hz,1.0,0)
rTherm(indMux2)=(rpTherm(indMux2)/(1-rpTherm(indMux2)))*100
Therm(indMux2)=1/((1.4051*10^(-3))+(2.369*10^(-4)*LN(rTherm(indMux2)))+(1.019*10^(-7)*((LN(rTherm(indMux2)))^3)))-273.2
indMux2=indMux2+1
NextSubScan
PortSet(3,0)
PortSet(4,0) 'Mux3
IndMux3=1
SubScan(0,mSec,nbrFSS)
PulsePort(1,200)
BrHalf (Fissuro(IndMux3),1,mV2500,9,Vx3,1,2500,True ,0,_50Hz,metroMultFSS(IndMux3),metrOffsetFSS(IndMux3))
BrHalf3W (rpPT(IndMux3),1,mV2500,15,Vx2,1,2500,True ,0,_50Hz,1.0,0)
PRT (PT(IndMux3),1,rpPT(IndMux3),1.0,0)
IndMux3=IndMux3+1
NextSubScan
PortSet(4,0)
CallTable(Pont)
NextScan
ERROR point 2nd subscan : Product of SubScan interval and iterations must be less than main Scan interval
Infinite loop for the main (always do that) and 30min not enough ? It just need a few sec to check all these captor. The first one is okay I just put the same twice error ??? Two muxtiplexer can't handle their time.... GRRRR
Best regards.
Try setting the interval to 0 on your first two sub scans like you did the third.