I'm using StreamDevice to receive unsolicited bytestream messages from a device with the message format: 0x10 0x02 ... data ... 0x10 0x03 CRC-bytes.
In my protocol file, I have:
Terminator = DLE ETX;
ExtraInput = Ignore;
getSerial {
out "\x10\x02\x11\x11\x01";
#message tag is \x11
in "\x10\x02\x21\x11%(\$1:serial.VAL)0r";
}
however it is only storing a single byte into the serial record. How do I extract multiple bytes?
- Replies:
- Re: Streamdevice extract bytestream Dirk Zimoch
- Navigate by Date:
- Prev:
Re: VLANS designing,Geographical vs functional? Maren Purves
- Next:
Streamdevice extract bytestream Stanley.He
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: VLANS designing,Geographical vs functional? Konrad, Martin
- Next:
Re: Streamdevice extract bytestream Dirk Zimoch
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|