![]() |
Normal IO Push Button on the Digital Sidecar
Does anyone know of a way I can connect a normal open close push button, using only power (negative and positive) connectors, to the Digital Sidecar?
|
Re: Normal IO Push Button on the Digital Sidecar
I'm from the same team, and we're trying to set up an auto shutoff for a motor based on a sensor switch. In order to simulate this, since we don't have the switch yet, we're using a pushbutton. Any help would be appreciated.
|
Re: Normal IO Push Button on the Digital Sidecar
To connect a button or switch to the Digital Sidecar you use the ground (-) and signal pins, not the power (+) pin.
Anything you want your code to know about MUST use the signal pin to "signal" the cRIO. That's the only way your code can "hear" anything. So connect the switch ground to (-) on the Sidecar and the switch (+) to the signal pin on the Sidecar. |
Re: Normal IO Push Button on the Digital Sidecar
Thanks a lot man, I'll try this out first thing in the morning.
|
Re: Normal IO Push Button on the Digital Sidecar
Make sure you connect it to the digital I/O pins - the same place you'd plug in an encoder.
|
| All times are GMT -5. The time now is 12:28. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi