Introduction: LIRC - LabVIEW - Sending a Remote Command From LabVIEW
This instructable will walk you through the "Send" LabVIEW VI I made for my LIRCRaspberry Pi Universal remote. This VI allows you to control your Raspberry Pi universal remote from your computer. 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
When you start the VI the "Remote info" section will generate, the names of a remote will be shown first with its buttons listed beneath it, each button will have a number in front of it. In the first drop-down menu, you can select the remote you would like to use. Once you select the remote the second drop down menu will contain all of its buttons, once you select one of those the "Select" button and you will send that command.
Step 2: 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."
I use a custom subVI to generate the "Remote info indicator.
In this step, I use a LIRC command to list the available buttons for the remote that the user picked. The output is sorted into a menu ring so the user can choose which button they want to send.
Once the user has selected the button they press the select button. This sends the LIRC command that sends that button, this command can be seen below.
Step 3: 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.
We have a be nice policy.
Please be positive and constructive.