Skip to main content
Tweeted twitter.com/StackArduino/status/792787360979222529
added 17 characters in body
Source Link

I'm trying to get data from a heat counter via the serial, the format of the response is:

t1=ХХХ.ХХ   t2=ХХХ.ХХ   t3=ХХХ.ХХ   t4=ХХХ.ХХ
P1=ХХ.ХХ    P2=ХХ.ХХ
VolSpd1=ХХ.ХХХ  VolSpd2=ХХ.ХХХ
MassSpd1=ХХ.ХХХ MassSpd2=ХХ.ХХХ
HeatSpd1=Х.ХХХ  HeatSpd2=Х.ХХХ
SumVolume1=Х.ХХХХХХХ    SumVolume2=Х.ХХХХХХХ
SumMass1=Х.ХХХХХХХ  SumMass2=Х.ХХХХХХХ
SumHeat1=Х.ХХХХХХХ  SumHeat2=Х.ХХХХХХХ
PowTime=Х.ХХХХХХХ   PowOffTime=Х.ХХХХХХХ
MeasTime1=Х.ХХХХХХХ MeasTime2=Х.ХХХХХХХ
UnMeasTime1=Х.ХХХХХХХ   UnMeasTime2=Х.ХХХХХХХ

I managed to get the data and parce it on arduino but only from the first line. I do not know how to get all other data.

I'm trying to get data from a heat counter, the format of the response is:

t1=ХХХ.ХХ   t2=ХХХ.ХХ   t3=ХХХ.ХХ   t4=ХХХ.ХХ
P1=ХХ.ХХ    P2=ХХ.ХХ
VolSpd1=ХХ.ХХХ  VolSpd2=ХХ.ХХХ
MassSpd1=ХХ.ХХХ MassSpd2=ХХ.ХХХ
HeatSpd1=Х.ХХХ  HeatSpd2=Х.ХХХ
SumVolume1=Х.ХХХХХХХ    SumVolume2=Х.ХХХХХХХ
SumMass1=Х.ХХХХХХХ  SumMass2=Х.ХХХХХХХ
SumHeat1=Х.ХХХХХХХ  SumHeat2=Х.ХХХХХХХ
PowTime=Х.ХХХХХХХ   PowOffTime=Х.ХХХХХХХ
MeasTime1=Х.ХХХХХХХ MeasTime2=Х.ХХХХХХХ
UnMeasTime1=Х.ХХХХХХХ   UnMeasTime2=Х.ХХХХХХХ

I managed to get the data from the first line. I do not know how to get all other data.

I'm trying to get data from a heat counter via the serial, the format of the response is:

t1=ХХХ.ХХ   t2=ХХХ.ХХ   t3=ХХХ.ХХ   t4=ХХХ.ХХ
P1=ХХ.ХХ    P2=ХХ.ХХ
VolSpd1=ХХ.ХХХ  VolSpd2=ХХ.ХХХ
MassSpd1=ХХ.ХХХ MassSpd2=ХХ.ХХХ
HeatSpd1=Х.ХХХ  HeatSpd2=Х.ХХХ
SumVolume1=Х.ХХХХХХХ    SumVolume2=Х.ХХХХХХХ
SumMass1=Х.ХХХХХХХ  SumMass2=Х.ХХХХХХХ
SumHeat1=Х.ХХХХХХХ  SumHeat2=Х.ХХХХХХХ
PowTime=Х.ХХХХХХХ   PowOffTime=Х.ХХХХХХХ
MeasTime1=Х.ХХХХХХХ MeasTime2=Х.ХХХХХХХ
UnMeasTime1=Х.ХХХХХХХ   UnMeasTime2=Х.ХХХХХХХ

I managed to get the data and parce it on arduino but only from the first line. I do not know how to get all other data.

I'm trying to get data from a heat counter, the format of tesponcethe response is: t1=ХХХ.ХХ t2=ХХХ.ХХ t3=ХХХ.ХХ t4=ХХХ.ХХ P1=ХХ.ХХ P2=ХХ.ХХ VolSpd1=ХХ.ХХХ VolSpd2=ХХ.ХХХ MassSpd1=ХХ.ХХХ MassSpd2=ХХ.ХХХ HeatSpd1=Х.ХХХ HeatSpd2=Х.ХХХ SumVolume1=Х.ХХХХХХХ SumVolume2=Х.ХХХХХХХ SumMass1=Х.ХХХХХХХ SumMass2=Х.ХХХХХХХ SumHeat1=Х.ХХХХХХХ SumHeat2=Х.ХХХХХХХ PowTime=Х.ХХХХХХХ PowOffTime=Х.ХХХХХХХ MeasTime1=Х.ХХХХХХХ MeasTime2=Х.ХХХХХХХ UnMeasTime1=Х.ХХХХХХХ UnMeasTime2=Х.ХХХХХХХ

t1=ХХХ.ХХ   t2=ХХХ.ХХ   t3=ХХХ.ХХ   t4=ХХХ.ХХ
P1=ХХ.ХХ    P2=ХХ.ХХ
VolSpd1=ХХ.ХХХ  VolSpd2=ХХ.ХХХ
MassSpd1=ХХ.ХХХ MassSpd2=ХХ.ХХХ
HeatSpd1=Х.ХХХ  HeatSpd2=Х.ХХХ
SumVolume1=Х.ХХХХХХХ    SumVolume2=Х.ХХХХХХХ
SumMass1=Х.ХХХХХХХ  SumMass2=Х.ХХХХХХХ
SumHeat1=Х.ХХХХХХХ  SumHeat2=Х.ХХХХХХХ
PowTime=Х.ХХХХХХХ   PowOffTime=Х.ХХХХХХХ
MeasTime1=Х.ХХХХХХХ MeasTime2=Х.ХХХХХХХ
UnMeasTime1=Х.ХХХХХХХ   UnMeasTime2=Х.ХХХХХХХ

I managed to get the data from the first line. I do not know how to get all other data.

Can somebody help me? Thanks

I'm trying to get data from heat counter, the format of tesponce is: t1=ХХХ.ХХ t2=ХХХ.ХХ t3=ХХХ.ХХ t4=ХХХ.ХХ P1=ХХ.ХХ P2=ХХ.ХХ VolSpd1=ХХ.ХХХ VolSpd2=ХХ.ХХХ MassSpd1=ХХ.ХХХ MassSpd2=ХХ.ХХХ HeatSpd1=Х.ХХХ HeatSpd2=Х.ХХХ SumVolume1=Х.ХХХХХХХ SumVolume2=Х.ХХХХХХХ SumMass1=Х.ХХХХХХХ SumMass2=Х.ХХХХХХХ SumHeat1=Х.ХХХХХХХ SumHeat2=Х.ХХХХХХХ PowTime=Х.ХХХХХХХ PowOffTime=Х.ХХХХХХХ MeasTime1=Х.ХХХХХХХ MeasTime2=Х.ХХХХХХХ UnMeasTime1=Х.ХХХХХХХ UnMeasTime2=Х.ХХХХХХХ

I managed to get data from the first line. I do not know how to get all other data.

Can somebody help me? Thanks

I'm trying to get data from a heat counter, the format of the response is:

t1=ХХХ.ХХ   t2=ХХХ.ХХ   t3=ХХХ.ХХ   t4=ХХХ.ХХ
P1=ХХ.ХХ    P2=ХХ.ХХ
VolSpd1=ХХ.ХХХ  VolSpd2=ХХ.ХХХ
MassSpd1=ХХ.ХХХ MassSpd2=ХХ.ХХХ
HeatSpd1=Х.ХХХ  HeatSpd2=Х.ХХХ
SumVolume1=Х.ХХХХХХХ    SumVolume2=Х.ХХХХХХХ
SumMass1=Х.ХХХХХХХ  SumMass2=Х.ХХХХХХХ
SumHeat1=Х.ХХХХХХХ  SumHeat2=Х.ХХХХХХХ
PowTime=Х.ХХХХХХХ   PowOffTime=Х.ХХХХХХХ
MeasTime1=Х.ХХХХХХХ MeasTime2=Х.ХХХХХХХ
UnMeasTime1=Х.ХХХХХХХ   UnMeasTime2=Х.ХХХХХХХ

I managed to get the data from the first line. I do not know how to get all other data.

Source Link

Arduino - read multiline serial input

I'm trying to get data from heat counter, the format of tesponce is: t1=ХХХ.ХХ t2=ХХХ.ХХ t3=ХХХ.ХХ t4=ХХХ.ХХ P1=ХХ.ХХ P2=ХХ.ХХ VolSpd1=ХХ.ХХХ VolSpd2=ХХ.ХХХ MassSpd1=ХХ.ХХХ MassSpd2=ХХ.ХХХ HeatSpd1=Х.ХХХ HeatSpd2=Х.ХХХ SumVolume1=Х.ХХХХХХХ SumVolume2=Х.ХХХХХХХ SumMass1=Х.ХХХХХХХ SumMass2=Х.ХХХХХХХ SumHeat1=Х.ХХХХХХХ SumHeat2=Х.ХХХХХХХ PowTime=Х.ХХХХХХХ PowOffTime=Х.ХХХХХХХ MeasTime1=Х.ХХХХХХХ MeasTime2=Х.ХХХХХХХ UnMeasTime1=Х.ХХХХХХХ UnMeasTime2=Х.ХХХХХХХ

I managed to get data from the first line. I do not know how to get all other data.

Can somebody help me? Thanks