01-14-2025 01:07 PM
I got a new relay. I was able to communicate with it in C#. (See below)
"RelaySentString = "55 56 00 00 00 04 02 B1"
byte[] bytes = RelaySentString.Split(' ').Select(s => Convert.ToByte(s, 16)).ToArray();
LocalComPort.Write(bytes, 0, bytes.Length);
I don't know how to send the command "55 56 00 00 00 04 02 B1" in LabVIEW. May someone help me please?
Thank you.
01-14-2025 01:44 PM
Use VISA to do the communications. It just takes a string as an array of bytes. Change your control/constant to "Hex Display" and you can just type your byte values directly.