Hello NI Community,
I am trying to get a pretty old Relais Board (Conrad 197730) to work with LabVIEW. I am totally new to LabVIEW and tried to get some informations about serial communication and other basic knowledge out of YouTube tutorials and your forum. But up to now I am not able to get the board to communicate with my computer.
What I was able to (roughly) understand is that I have to work with VISA blocks. Here are the pictures of what I tried:
I am writing the bytes to an U8-array which seems to work properly regarding the monitoring-byte-array-outputs. COM5 is checked and correct (the Conrad C++ example in Visual Basic works fine).
The "debugging function" (lightbulb) shows the signal is sent up to the purple square at the while-loop's right side. But the relais aren't switching. By sending 164 in Data (byte 2) relais 8, 6 and 3 should switch on (164 in binary is 10100100).
To be honest I have no clue what the checksum (byte 3) is doing and how it needs to be set. In the user manual it sais "XOR from byte0, byte 1 and byte 2).
Do you have an idea what might be the problem? I think everything is set up like told in the relais-board's user manual.
Here is a link to the manual (english version from page 21 onwards) : https://asset.conrad.com/media10/add/160267/c1/-/gl/000197730ML02/bedienungsanleitung-197730-conrad-components-197730-relaiskarte-baustein-12-vdc.pdf
Every help is appreciated and if you need further information pls tell me what you need to know.