# Help with creating a buffer of hex bytes from a string of hex words

**URL:** <https://discourse.nodered.org/t/help-with-creating-a-buffer-of-hex-bytes-from-a-string-of-hex-words/29259>\
**Category:** General\
**Created:** [30 June 2020 19:30 UTC](https://discourse.nodered.org/t/help-with-creating-a-buffer-of-hex-bytes-from-a-string-of-hex-words/29259 "2020-06-30T19:30:27Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [1 July 2020 15:04 UTC](https://discourse.nodered.org/t/help-with-creating-a-buffer-of-hex-bytes-from-a-string-of-hex-words/29259/12 "2020-07-01T15:04:12Z")

</div>

I've never used the USB node but so I can only help if you do the following...

1. Set the debug to show complete msg  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/5/9548bfb49b72f6066167303b9dd351b88bc6e145.png)
2. Copy the data response you get and paste it (as code) into a reply  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/1/11ee7aff0f46002f47c988afa0cb520cd721e606.png)
3. Tell me what each part _should_ be (e.g. first 4 digits are temperature and should be 31.5 etc)

---

_[View the full topic](https://discourse.nodered.org/t/help-with-creating-a-buffer-of-hex-bytes-from-a-string-of-hex-words/29259)._
