Hello,
i need to start recording in 6 Mobotix cams simultaneously, but i have no luck.
Only 2 or 3 cams starts recording, other doesn't.
I've tried many times with different pieces of code, but with no luck.
I don't understand why not ALL cams starts recording, only the first 2 or 3 random.
Can someone help me ?
[highlight=epc]
TCP_MXREC10=5
TCP_MXREC11=5
TCP_MXREC15=5
TCP_MXREC12=5
TCP_MXREC14=5
TCP_MXREC5=5
evTrig= Event triggered by Microwave motion detectors
if evTrig then {
// Mobotix Nord 10
TCP_MXREC10=connecttcp(8000u16,192.168.1.10) ;
// Mobotix Sud 11
TCP_MXREC11=connecttcp(8000u16,192.168.1.11) ;
// Mobotix Ingresso360 15
TCP_MXREC15=connecttcp(8000u16,192.168.1.15) ;
// Mobotix Ovest 12
TCP_MXREC12=connecttcp(8000u16,192.168.1.12) ;
// Mobotix Garage360 14
TCP_MXREC14=connecttcp(8000u16,192.168.1.14) ;
// Mobotix Est 5
TCP_MXREC5=connecttcp(8000u16,192.168.1.5) ;
} endif
// After connection OK, send telegram
if after(TCP_MXREC10==0,1000u64) then sendtcp(8000u16,192.168.1.10,$REC$);closetcp(8000u 16,192.168.1.10) endif
if after(TCP_MXREC11==0,1000u64) then sendtcp(8000u16,192.168.1.11,$REC$);closetcp(8000u 16,192.168.1.11) endif
if after(TCP_MXREC15==0,1000u64) then sendtcp(8000u16,192.168.1.15,$REC$);closetcp(8000u 16,192.168.1.15) endif
if after(TCP_MXREC12==0,1000u64) then sendtcp(8000u16,192.168.1.12,$REC$);closetcp(8000u 16,192.168.1.12) endif
if after(TCP_MXREC14==0,1000u64) then sendtcp(8000u16,192.168.1.14,$REC$);closetcp(8000u 16,192.168.1.14) endif
if after(TCP_MXREC5==0,1000u64) then sendtcp(8000u16,192.168.1.5,$REC$);closetcp(8000u1 6,192.168.1.5) endif
[/highlight]
i need to start recording in 6 Mobotix cams simultaneously, but i have no luck.
Only 2 or 3 cams starts recording, other doesn't.
I've tried many times with different pieces of code, but with no luck.
I don't understand why not ALL cams starts recording, only the first 2 or 3 random.
Can someone help me ?
[highlight=epc]
TCP_MXREC10=5
TCP_MXREC11=5
TCP_MXREC15=5
TCP_MXREC12=5
TCP_MXREC14=5
TCP_MXREC5=5
evTrig= Event triggered by Microwave motion detectors
if evTrig then {
// Mobotix Nord 10
TCP_MXREC10=connecttcp(8000u16,192.168.1.10) ;
// Mobotix Sud 11
TCP_MXREC11=connecttcp(8000u16,192.168.1.11) ;
// Mobotix Ingresso360 15
TCP_MXREC15=connecttcp(8000u16,192.168.1.15) ;
// Mobotix Ovest 12
TCP_MXREC12=connecttcp(8000u16,192.168.1.12) ;
// Mobotix Garage360 14
TCP_MXREC14=connecttcp(8000u16,192.168.1.14) ;
// Mobotix Est 5
TCP_MXREC5=connecttcp(8000u16,192.168.1.5) ;
} endif
// After connection OK, send telegram
if after(TCP_MXREC10==0,1000u64) then sendtcp(8000u16,192.168.1.10,$REC$);closetcp(8000u 16,192.168.1.10) endif
if after(TCP_MXREC11==0,1000u64) then sendtcp(8000u16,192.168.1.11,$REC$);closetcp(8000u 16,192.168.1.11) endif
if after(TCP_MXREC15==0,1000u64) then sendtcp(8000u16,192.168.1.15,$REC$);closetcp(8000u 16,192.168.1.15) endif
if after(TCP_MXREC12==0,1000u64) then sendtcp(8000u16,192.168.1.12,$REC$);closetcp(8000u 16,192.168.1.12) endif
if after(TCP_MXREC14==0,1000u64) then sendtcp(8000u16,192.168.1.14,$REC$);closetcp(8000u 16,192.168.1.14) endif
if after(TCP_MXREC5==0,1000u64) then sendtcp(8000u16,192.168.1.5,$REC$);closetcp(8000u1 6,192.168.1.5) endif
[/highlight]
Kommentar