I opened the Write to Dig. Port, and it worked properly. However, they are using two byte Hexadecimal number to control the port, and I am not sure how to convert the decimal number into two byte hexadecimal. I found a converter to hexadecimal, but its output is a string.