Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

not able to read string from read buffer of visa to the string to decimal converter input string

Hi,I am trying to convert the hex value to the decimal (like 5D to 93) that I am receiving over serial port using VISA read.But the problem is that if I am trying to display the HEX value from the read buffer of VISA read then its showing the correct hex value in the string read but when I try to use the read buffer of VISA read as the input to the HEX to Decimal converter palette then the number display always shows zero only.Is there any palette in lab view that can be used to read from the read buffer of the VISA read and pass that string as input to the hex to decimal converter.Thanks in advance.my VI file is attached below.

0 Kudos
Message 1 of 2
(3,130 Views)

Maybe try using the type cast function.

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 2 of 2
(3,120 Views)