Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send only hexadecimal values as input through serial port ( com port ).

I want to take input from user through keyboard and send the same via serial port. Here how can I pass only hexadecimal values.

0 Kudos
Message 1 of 4
(2,117 Views)

switch the display of the control to hexadecimal representation.

greetings from the Netherlands
0 Kudos
Message 2 of 4
(2,099 Views)

Thank you for reply, 

Can you elaborate it.

I'm taking input from keyboard from user by using string controls, how can I take only hexadecimal values by filtering. Here user can give any kind of input combinations but when only hexadecimal values gives then only we need  to pass these values through serial port.

 

0 Kudos
Message 3 of 4
(2,094 Views)

right click on the string control and change the display mode to hex display

see lower on picture the red lined display
choose circled display modechoose circled display mode

greetings from the Netherlands
0 Kudos
Message 4 of 4
(2,091 Views)