04-15-2026 10:32 PM
Hi everyone,
On my display, when I select Hex, I get:
322D 3256 2D12 0123 43B1 4532 1234 8721 3215 6543 0F01.
However, in my Excel file, I have the raw characters sent by VISA Read.
I would like to have something readable in my Excel file. I’ve been advised to convert the string into a byte array, then reconstruct the numbers, and finally get an array of numbers.
Isn’t there a faster method, please?
04-16-2026 01:11 AM - edited 04-16-2026 01:14 AM
Hi Fredo,
@Fredo123Danzel wrote:
On my display, when I select Hex, I get:
322D 3256 2D12 0123 43B1 4532 1234 8721 3215 6543 0F01.However, in my Excel file, I have the raw characters sent by VISA Read.
Because you only change the "display style", but not the underlying data!
@Fredo123Danzel wrote:
I would like to have something readable in my Excel file. I’ve been advised to convert the string into a byte array, then reconstruct the numbers, and finally get an array of numbers.
Isn’t there a faster method, please?
Please define "faster"!

Is this ok for you?
Edit: I forgot to set the minimum width at the ToHexString function…