LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa read gives data which is not readable

Hello,

 

I am having problem with visa read.when i send the command in visa test panel and select view in hexadecimal i get accurate answer. but when i try to implement same thing in labview i get output which i dont understand.

0 Kudos
Message 1 of 3
(665 Views)

Right-click on the Response-Indicator in the FP -> Visible Items -> Display Style.

 

Then switch to \Codes- or HEX-Display.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 2 of 3
(655 Views)

Hi malik,

 


@malik240 wrote:

I am having problem with visa read.when i send the command in visa test panel and select view in hexadecimal i get accurate answer. but when i try to implement same thing in labview i get output which i dont understand.


So you know how to set a string constant in the block diagram to \-code display mode, but you don't know how to set a string indicator on the frontpanel to hex-display mode? Come on…

 

Btw. you should not mix serial communication with (default) TermChars enabled with apparently binary data being transmitted. You also should get rid of ByteAtPort, as has been explained so often in this forum!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(633 Views)