Showing results for 
Search instead for 
Did you mean: 

I2C communication




I am working in LabView to communicate with a ZSC 31014 chip and am struggling with how to use the VISA read and write functions in LabView.  When using the VISA write function the input is an ASCII string, but what does the function send? If i need to write something in hexadecimal form do I need to convert it then put it in the write buffer?  I have attached a picture of my VI as well as the command syntax sheet for the device.  The first task is to send the command v to the command board and then read a repsonse. 



0 Kudos
Message 1 of 4

The VISA Write is just sending a 'v' through the UART you specified.


Do you have a RS-232 to I2C device?

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 2 of 4

The communication board is connected to the computer by USB. the v command returns the current version of the command board. 

0 Kudos
Message 3 of 4

If you need to specify the string to send in hexadecimal rather than ASCII form, then right-click your string constant (currently containing "v") and select "Hex Display" instead of "Normal Display". Then you can enter the string byte-by-byte as pairs of hexadecimal digits.

0 Kudos
Message 4 of 4