From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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.
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 "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
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.