Introduction: LIRC - LabVIEW - Remote Replacement

Picture of LIRC - LabVIEW - Remote Replacement

This instructable will walk you through the "Add" LabVIEW VI I made for my LIRCRaspberry Pi Universal remote. The Replace Remote VI allows a user to replace a lost or broken remote with an already configured remote. This is only one of six instructable in my LIRC instructable collection, I recommend that you start by reading my LIRC overview instructable.

Step 1: User Interface

Picture of User Interface

When you start the VI you must select two remotes, in the first drop down menu select the remote you would like to replace. In the second drop down menu select the remote that you would like to replace the first remote. A switch at the bottom of the VI can be changed to true if you want all of your programmed remotes to be able to replace this device.

Step 2: LabVIEW Block Diagram

Picture of LabVIEW Block Diagram

To control LIRC running on the Raspberry Pi from the chroot I used a system exec VI to send commands over SSH. Every command started with "ssh pi@localhost," the commands were entered as strings into the system execs "command line."

In this VI I use a python code. In the picture below I am making a python script that is called later to allow one of the remotes to control the other.

If a switch on the front panel is true it will make it so all of your programmed remotes to be able to replace this device. This is because if that button is true the script does not specify which remote is controlling it(shown below on the left). If it is not true it specifies that particular remote and than only that remote can be used to control that device(shown below on the right).

Step 3: The End

Picture of The End

Thank you for reading my instructable, if you are interested in making this project yourself but don't have the right supplies you can purchase the LabVIEW computing kit for the Raspberry Pi 2 . This kit includes a copy of LabVIEW 2014 home edition and everything you will need to run LINX 3.0 and start making projects. Please comment with any questions or comments you may have.

Comments

DIY Hacks and How Tos (author)2017-01-14

It is always better to make a DIY solution than to just buy a commercial replacement. Making it yourself is so much more fun.

About This Instructable

1,423views

16favorites

License:

Bio: I graduated from Washington State University with a degree in Bioengineering.
More by Austin Stanton:LIRC - LabVIEW - Remote ReplacementLIRC - LabVIEW - Raspberry PiLIRC - LabVIEW - Sending a Remote Command From LabVIEW
Add instructable to: