LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hex convert to decimal


@abcdefgjdjejd wrote:

thanks for replying me, I planned to use modbus 


... and what happened?

0 Kudos
Message 11 of 13
(269 Views)

Hello!

 

I am using the same torque sensor in my experiments, but I have the following question, if you can help.

 

I want the torque value displayed on the screen to have two numbers after the decimal point, for example, if the torque value is 10.1 Nm, I want it to be displayed as 10.10 or 10.09 Nm, etc.

 

I am using the software provided by the sensor's manufacturer to record the values.

 

I tried changing the decimal point (radox) from the sensor's interface, but it does not show a more accurate result, it just shifts the decimal itselt, I tried to change the ratio (coefficient) but I could not figure it out.

 

Any help is appreciated!

 

Thank in advance.

0 Kudos
Message 12 of 13
(191 Views)

@abcdefgjdjejd wrote:
  • Hi, Im trying to read DYN-200 torque sensor. My value from the read buffer is quite weird it show 2D30 2E30 302D 302E 

It appears that you are reading Hex values, possibly a string.  Let's assume that's the case, and see if anything makes sense.  2D Hex = + ASCII.  30 Hex = 0 (I'm going to skip "ASCII").  2E Hex = .  Looks like you have a string that starts "+0.00+0." and there may be more stuff after that.

 

Bob Schor

 

0 Kudos
Message 13 of 13
(170 Views)