LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS-232 DATA SEND TO Iinstrument

Solved!
Go to solution

Converting a string to a byte array and back to a string does nothing.

0 Kudos
Message 11 of 14
(199 Views)

Hi 

 

is the string type entered in the visa write buffer considered as binary or hexadecimal please?

 

 

I'm learning labview and sorry for my questions if they are not consistent

 

0 Kudos
Message 12 of 14
(191 Views)
Solution
Accepted by topic author Fredo123Danzel

@Fredo123Danzel wrote:

is the string type entered in the visa write buffer considered as binary or hexadecimal please?


 

A string is a string is a string, and this has nothing to do with LabVIEW. The look is purely cosmetic and does not change the underlying data.

 

If you want to enter the data in hex, set the display to hex.

 

0 Kudos
Message 13 of 14
(181 Views)

The module has several operating speeds but it does not accept 9600. So I set my via visa to write at 115200 speed, configured the radex of the via containing my data in hexadecimal reading and the problem is solved. Thanks for your help!

0 Kudos
Message 14 of 14
(136 Views)