DIP Switches

Demonstration circuit for DIP switches: schematic diagram, recommended breadboard layout, and connection to NImyRIO MXP.
In this project, students learn to describe concepts related to dip switches and examine both SPST and rotary-style dip switches. Students interface myRIO with each dip switch and use LabVIEW to interpret the switch open-close patterns as a numerical value, binary array, and individual bit fields. Through these activities, students follow steps to demonstrate correct operation of the DIP switches, watch videos involving theory, and participate in a short activity after each video.
by Dr. Ed Doering | Rose-Hulman Institute of Technology


This is lab 4 of 39 in the course, NI myRIO Project Essentials Guide.


  • PDF Project Manual
  • LabVIEW Code
  • Video Tutorials (linked within Project Manual)


  • Basic LabVIEW familiarity
  • Basic circuit building


Provides reconfigurable I/O that allows you to teach and implement multiple design concepts with one device.


LabVIEW is systems engineering software for applications that require test, measurement, and control with rapid access to hardware and data insights.

myRIO Starter Accessory Kit

Includes sensors and components needed for basic projects. Students have the opportunity to engage in custom projects to learn sensor and actuator integration and basic programming.

Required Software

Download Academic Software, Learn About Software Licensing
  • myRIO Software Bundle (2013 or later)
    • LabVIEW (Requires license)
    • LabVIEW Real-Time Module (Requires license)
    • LabVIEW myRIO Toolkit

Required Hardware

Purchase Engineering Education Products
  • myRIO (enclosed) - View Specifications
  • myRIO Starter Accessory Kit
    • Kit components included in this module:
      • DIP Switch
      • Rotary DIP Switch
      • Breadboard
      • Jumper Wires
Log in to submit a comment.