Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

MicroController

I have a microcontroller that is sending data in hexadecimal format. However, the visa reads the data as ascii format. Is there anything that I mus change in my vi so that it will read the data in hexadecimal format?

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

VISA does not read the data as ASCII. You have chosen to display the data as ASCII. Right click on your string indicator and select 'Hex Display'.

 

It seems you have some very convoluted logic for getting the data. I imagine that most of that code can be discarded. Why don't you do a capture, stop the vI, and go to Edit>Make Current Values Default, and then save the VI. You now have a VI with actual data saved with it and someone can look at that without having your instrument. Post that VI with an explanation of what the data is supposed to represent. Attaching the manual would be great.

0 Kudos
Message 2 of 2
(3,257 Views)