# Creating CRC16 xModem Hex Value

**URL:** <https://discourse.nodered.org/t/creating-crc16-xmodem-hex-value/81981>\
**Category:** General\
**Created:** [12 October 2023 19:33 UTC](https://discourse.nodered.org/t/creating-crc16-xmodem-hex-value/81981 "2023-10-12T19:33:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [13 October 2023 07:44 UTC](https://discourse.nodered.org/t/creating-crc16-xmodem-hex-value/81981/2 "2023-10-13T07:44:02Z")

</div>

@michaelbusry welcome to the forum! First off it is JavaScript not Java they are two different things (grin)

Can you give some background info:

1. what version of Node-RED, and node.js are you running (see node-redstarxtup log)
2. what platform are you running NR on?

So you have something running so can you create a test flow demonstrating the problem. If you add a `debug` node to the output of what ever is sending you the json, you could put that in an `inject` node in the test flow. That way we can run your test flow to see what is happening.

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/creating-crc16-xmodem-hex-value/81981)._
