Benchtop Measurement and Test
Distributed Measurement and Control
High-Performance Test
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
在 04-24-2019 04:57 AM
各位前輩好
我有一個設備回傳是以HEX資料回傳,但我需要轉換成10進制數值
因此我寫了一個VI來做轉換
Hex[]是以Hex Display
我先將其轉為8bit的二進制,再串起來轉回10進制數值
但因為這個Array資料量非常大,有上萬筆,每次loop call此VI執行的時候,消耗非常多時間
不知道有沒有更簡單的轉換方式
ex:
FFFF B48A = -19318
0000 32CD = 13005
04-29-2019 03:51 AM - 已編輯 04-29-2019 04:09 AM
在 04-29-2019 04:58 AM
您好,
這邊提供相關Hex轉10進制方法給您參考:Convert String Hex to Integer Decimal in LabVIEWhttps://forums.ni.com/t5/Example-Programs/Convert-String-Hex-to-Integer-Decimal-in-LabVIEW/ta-p/3521...Hex to decimalhttps://forums.ni.com/t5/LabVIEW/Hex-to-decimal/td-p/403480How to convert hexadecimal array to numberhttps://forums.ni.com/t5/LabVIEW/How-to-convert-hexadecimal-array-to-number/td-p/3561347Convert Hexadecimal to Decimalhttps://forums.ni.com/t5/Example-Program-Drafts/Convert-Hexadecimal-to-Decimal/ta-p/3505873convert from hexadecimal to decimalhttps://forums.ni.com/t5/LabVIEW/convert-from-hexadecimal-to-decimal/td-p/1966919
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!