取消
显示结果 
搜索替代 
您的意思是: 

converting hex into a string of decimal

Hi all,

 

I am using Labview to communicate with accelerometer. I need to convert ASCII to decimal value. However, my application samples for labview is only capable to convert ASCII to HEX value which is pretty much useless as raw data.

 

How to i convert HEX into a string of decimal using type cast or is there any better way to do it?  What does the 'type' indicate? 

 

Kane

0 项奖励
1 条消息(共 5 条)
3,333 次查看
Use the Number to String function(s) from that sub-pallette present inside the Strings pallette to achieve what you want. 高兴表情
- Partha ( CLD until Oct 2027 🙂 )
2 条消息(共 5 条)
3,329 次查看

You need something like here. Give example what you want exactly.

 

Mathan

0 项奖励
3 条消息(共 5 条)
3,328 次查看

Hi Use ''Hexadecimal String To Number'' to convert Hex Value into Integer number\

I think this will work. If not use 'Number To Decimal String" after converting Hex into number.

 

0 项奖励
4 条消息(共 5 条)
3,324 次查看

hito88 wrote:

 

What does the 'type' indicate?


Straight from LV Help...

 

"type is the data type to which you want to convert the data. Wire any constant or control to type to set the data type to which you want to convert the data. LabVIEW ignores any data in the constant or control you wire to type."

- Partha ( CLD until Oct 2027 🙂 )
0 项奖励
5 条消息(共 5 条)
3,311 次查看