Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

protocol for getvariable


smile Apr 5, 2019 09:52 AM

Hi

I have to acquire the locations from another logger via GSM.
Yesterday morning it worked well, not today!
It makes the gsm call, it connects, the locations arrive, the result code is 0, but in the end something does not like it and starts again to compose the number, continuously.
Is a series of operations available that the logger does to understand what they don't like?
Since the locs arrive is there any way to interrupt the procedure anyway?
These are the salient lines:

.........

DialSequence (2)
dialok=DialModem (comrs232,9600,"n_cell","CONNECT 9600")
EndDialSequence (dialok)
'Main Program
BeginProg
SerialOpen (comrs232,9600,0,50,10000)
SW12(1)
get_bis_result=999
Scan (1,Min,0,0)
PanelTemp (PTemp,60)
Battery (Batt_volt)
If IfTime (0,15,Min) Then
GetVariables (get_bis_result,comrs232,0,2,0000,500,"Inlocs","x_master_1",remote_bis(),10)
EndIf

...............

TIA

Regards

Smile


smile Apr 8, 2019 09:30 AM

Hi,

there seems to be a procedure in the background, is there a way to stop it? anyway!

Is a CR1000 that call a CR10PB

this is what happens, I have hidden some phone numbers.

19:03:00.63 T 41 A
19:03:00.65 R 41 A
19:03:00.65 T 54 T
19:03:00.67 R 54 T
19:03:00.68 T 44 D
19:03:00.70 R 44 D
19:03:00.74 T 54 T
19:03:00.76 R 54 T
19:03:00.77 T 33 3
19:03:00.79 R 33 3
19:03:00.79 T xx x
19:03:00.82 R xx x
19:03:00.82 T xx x
19:03:00.85 R xx x
19:03:00.85 T xx x
19:03:00.88 R xx x
19:03:00.88 T xx x
19:03:00.91 R xx x
19:03:00.91 T xx x
19:03:00.94 R xx x
19:03:00.94 T xx x
19:03:00.97 R xx x
19:03:00.97 T 38 8
19:03:01.00 R 38 8
19:03:01.00 T 33 3
19:03:01.03 R 33 3
19:03:01.03 T 38 8
19:03:01.06 R 38 8
19:03:01.06 T 0D .
19:03:01.09 R 0D .
19:03:22.57 R 0D 0A 43 4F 4E 4E 45 43 54 ..CONNECT
19:03:22.58 R 20 39 36 30 30 0D 0A 9600..
19:03:22.59 R 0D 0A ..
19:03:22.70 T BD 90 02 00 01 AA E8 BD ........
19:03:22.76 T BD 90 02 00 01 AA E8 BD ........
19:03:22.88 T BD 90 02 00 01 AA E8 BD ........
19:03:23.00 T BD A0 02 70 01 10 02 00 01 1A 09 00 00 49 6E 6C ...p.........Inl
19:03:23.00 T 6F 63 73 00 09 72 65 6D 6F 74 65 5F 31 00 00 28 ocs..remote_1..(
19:03:23.00 T EE 11 BD ...
19:03:23.64 T 41 A
19:03:24.29 R BD A0 ..
19:03:24.30 R 01 00 02 E3 2C BD ....,.
19:03:24.39 R BD .
19:03:24.40 R A0 01 00 02 E3 2C BD .....,.
19:03:24.50 R BD A0 01 00 02 E3 2C BD ......,.
19:03:24.70 R BD A0 01 10 02 10 ......
19:03:24.71 R 01 00 02 9A 09 00 3D B9 ......=.
19:03:24.80 R 62 29 3D 97 b)=.
19:03:24.81 R 81 F2 41 40 C5 57 3E 00 F4 C0 ..A@.W>...
19:03:24.82 R 3D CB 05 8C 41 41 73 69 3E 0B =...AAsi>.
19:03:24.83 R 11 80 3D D1 11 F2 41 3E C2 ..=...A>.
19:03:24.84 R 33 41 3E 78 B8 41 4B 96 C2 3D 3A>x.AK..=
19:03:24.85 R B9 73 52 00 00 00 00 3D B9 .sR....=.
19:03:24.86 R 51 3E 44 72 00 00 3E 01 53 BC Q>Dr..>.S.
19:03:24.87 R DC 44 70 40 00 3E 00 DC 33 .Dp@.>..3
19:03:24.88 R 44 7D 80 00 3E 0B 15 F8 44 72 D}..>...Dr
19:03:24.89 R C0 00 3E 0B 0C 88 44 71 C0 00 ..>...Dq..
19:03:24.90 R 41 41 C3 C9 44 75 40 00 41 AA..Du@.A
19:03:24.91 R 40 E9 78 44 72 80 00 41 3F 79 @.xDr..A?y
19:03:24.92 R 3D 44 70 80 00 41 3E 4E 3B =Dp..A>N;
19:03:24.93 R 44 71 00 00 43 B6 80 00 44 7C Dq..C...D|
19:03:24.94 R 80 00 41 41 95 E9 44 7A 40 00 ..AA..Dz@.
19:03:24.95 R 41 3F EC 56 44 7B 40 00 00 A?.VD{@..
19:03:24.96 R 00 00 00 00 00 00 00 00 00 00 ..........
19:03:24.97 R 00 DE 28 BD ..(.
19:03:25.01 T BD A0 02 70 01 00 02 00 01 09 0A 00 02 FF FE AC ...p............
19:03:25.01 T 0D BD ..
19:03:26.63 R BD A0 01 20 02 ... .
19:03:26.64 R 00 01 00 02 89 0A 00 02 FF FF ..........
19:03:26.64 T 41 A
19:03:26.65 R 6B 52 BD kR.
19:03:26.68 T BD B0 02 00 01 00 02 00 01 1B 8A BD ............
19:03:28.26 R BD 80 01 00 02 8E B0 BD ........
19:03:28.66 R FF .
19:03:29.64 T 41 A
19:03:32.64 T 41 A
19:03:35.64 T 41 A
19:03:38.64 T 41 A
19:03:42.84 T 2B 2B 2B +++
19:03:44.02 R 0D .
19:03:44.02 T 41 A
19:03:44.03 R 0A 4F 4B 0D 0A .OK..
19:03:44.05 R 41 A
19:03:44.06 T 54 T
19:03:44.08 R 54 T
19:03:44.08 T 48 H
19:03:44.11 R 48 H
19:03:44.11 T 0D .
19:03:44.14 R 0D .
19:03:44.32 R 0D 0A 4F 4B 0D 0A ..OK..
19:03:44.32 T 41 A
19:03:44.35 R 41 A
19:03:44.35 T 54 T
19:03:44.38 R 54 T
19:03:44.38 T 44 D
19:03:44.41 R 44 D
19:03:44.41 T 54 T
19:03:44.44 R 54 T
19:03:44.44 T 33 3
19:03:44.47 R 33 3
19:03:44.47 T 32 2
19:03:44.50 R 32 2
19:03:44.50 T xx x
19:03:44.53 R xx x
19:03:44.53 T xx x
19:03:44.56 R xx x
19:03:44.56 T xx x
19:03:44.59 R xx x
19:03:44.59 T xx x
19:03:44.62 R xx x
19:03:44.62 T xx x
19:03:44.65 R xx x
19:03:44.65 T xx x
19:03:44.68 R xx 8
19:03:44.68 T 33 3
19:03:44.71 R 33 3
19:03:44.71 T 38 8
19:03:44.74 R 38 8
19:03:44.74 T 0D .
19:03:44.77 R 0D .
19:04:07.06 R 0D .
19:04:07.07 R 0A 43 4F 4E 4E 45 43 54 20 .CONNECT
19:04:07.08 R 39 36 30 30 0D 0A 9600..
19:04:07.08 R 0D 0A ..
19:04:07.66 T 41 A
19:04:10.66 T 41 A
19:04:13.66 T 41 A
19:04:16.66 T 41 A
19:04:19.66 T 41 A
19:04:22.66 T 41 A.

Sorry for the urgency.

Thanks

Regards

Smile

Log in or register to post/reply in the forum.