This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Process received data
#6
(18.11.2020, 09:41)Daniel. Wrote: Each product must have a address which is one of the byte in the string, probably the first.
YES, for example, when LM receives a string of 20 bytes of data, I only need the consecutive 16 bytes. How can I extract these 16 bytes?

(18.11.2020, 09:46)admin Wrote: Are you sure that each frame has a fixed length of 16 bytes? From your logs it seems that the length can be different.
YES,the air conditioner panel I need to receive is 16 bytes each time. But sometimes this panel will actively report more than 16 bytes of data, and I will ignore this data.

(18.11.2020, 09:49)Rick Wrote:
(18.11.2020, 09:41)Daniel. Wrote: Each product must have a address which is one of the byte in the string, probably the first.
YES, for example, when LM receives a string of 20 bytes of data, I only need the consecutive 16 bytes. How can I extract these 16 bytes?

(18.11.2020, 09:46)admin Wrote: Are you sure that each frame has a fixed length of 16 bytes? From your logs it seems that the length can be different.
YES,the air conditioner panel I need to receive is 16 bytes each time. But sometimes this panel will actively report more than 16 bytes of data, and I will ignore this data.
And I need 16 data starting with AD BD OD to make judgment logic.
Reply


Messages In This Thread
Process received data - by Rick - 18.11.2020, 09:11
RE: Process received data - by Daniel - 18.11.2020, 09:27
RE: Process received data - by Rick - 18.11.2020, 09:35
RE: Process received data - by Daniel - 18.11.2020, 09:41
RE: Process received data - by Rick - 18.11.2020, 09:49
RE: Process received data - by admin - 18.11.2020, 09:46
RE: Process received data - by admin - 18.11.2020, 10:58
RE: Process received data - by Rick - 18.11.2020, 11:07
RE: Process received data - by admin - 18.11.2020, 11:20
RE: Process received data - by Rick - 19.11.2020, 01:59
RE: Process received data - by admin - 19.11.2020, 07:44
RE: Process received data - by Rick - 19.11.2020, 09:32
RE: Process received data - by Rick - 20.11.2020, 04:10
RE: Process received data - by Daniel - 19.11.2020, 09:36
RE: Process received data - by Rick - 19.11.2020, 09:43
RE: Process received data - by Daniel - 19.11.2020, 09:56
RE: Process received data - by Rick - 19.11.2020, 10:01
RE: Process received data - by Daniel - 19.11.2020, 10:03
RE: Process received data - by Rick - 19.11.2020, 10:03
RE: Process received data - by admin - 20.11.2020, 06:48
RE: Process received data - by Rick - 20.11.2020, 07:00

Forum Jump: