Decimal to Hex Conversion
A simple program object to convert decimal numbers to hexadecimal
The ZIP file contains a single BOG file. Extract and add the BOG to your station by dragging it from your files to the station via the Niagara Workbench Nav Tree.
Add the wiresheet and program object to your station
Adjust the interval time if something other than 1 minute is desired
Link in your decimal number to the numericWritable named inDecimal
Adjust multiplier if necessery - example decimal 800 = hex 320, in many systems this will equate to 32 degrees so the decimal needs to be shifted over one place. The default 0.1 multiplier will do this for you.
Rename the numericWritable named outHex and change the facets as necessary for your application
Copyright 2020 Kyle Gross