Hi, I supposed that you are using VISA Read/ Write functions for communication between your PC and HW.
VISA Read/ Write takes in command/ outputing result in string format. In default condition, String control/ indicator is showing ASCII data. In order to obtain it correspoding hexadecimal values, you may...
a. Simply right-click the String control/ indicator, and select "Hex Display" property.
b. Use "String to Byte Array" to convert the received String to Numerical data.