After reloading, I began to do experiments with my relay! LabVIEW has rich functions, which can be combined with software and hardware in embedded development, making development easier.
1, wiring diagram
V is positive 5V, G is negative, S is signal line (GPIO port), and BORAD code is 40. The control interface of raspberry pie is BORAD code.
2.LINX connects raspberry pie
Install the raspberry pie plug-in and turn on the demonstration control relay.
3. Deployment procedures
Program block diagram: Boolean quantity controls the on-off of GPIO port.
Front panel: relays are controlled by buttons.
4. Generate a real-time application and deploy it to Raspberry Pie. Please refer to my article-the combination of ——LabVIEW and raspberry pie, an interesting embedded development.
Through this experimental test, the function of the current control relay can be completed by LINX software of labview, C language and Python. Please refer to my article-using C language and Python to control relays and LED lights on raspberry pie. C language and python are embedded, and labview can be controlled by man-machine interface or embedded.
Measured renderings: