Sensor Type: Mechanical Switch
Manufacture/Model Number: Sparkfun: COM-09414
Link to Sensor: https://www.sparkfun.com/products/9414
LabVIEW or C: LabVIEW
Version of LV: 2013
Description/Instructions on how to use this example:
This example reads the state of the Sparkfun COM-09414 and displays the state using a LED indicator on the front panel.
Instructions:
1. Connect sensor to NI myRIO
2. Open .lvproj in attached .zip folder
3. Open and run Main.vi
Wiring Diagram of Sensor to myRIO:
SparkFun COM-09414 myRIO
COM GND
NO Connector A/DIO0
Code: NI myRIO SparkFun COM-09414 Mechanical Switch.zip attached