![]() |
Re: Microswitch only returns 0
DigitalInput input(5) is declared as part of the constructor. Calling input.Get() always returns zero when nothing is connected. Probing ground versus signal on the digital sidecar DIO line is reporting 4 Volts when nothing is connected. We tried swapping out cRIOs, Digital modules, digital module cable to sidecar, and sidecars and the problem still persists. We are trying to uninstall windriver and re-install next since we accidentally installed 3.3 on a 32-bit system. I don't know if this would be the cause of the problem but it's worth a try. We don't have the robot signal light installed, but the led that is next to the location where the wire would go is blinking.
Any other suggestions would be helpful as we've never seen this problem before for the past 3 years. Thanks. |
Re: Microswitch only returns 0
Maybe try setting the if fatal return 0 to return 2 instead to see if it reads 0 it or is meeting the fatal condition in get().
|
PROBLEM SOLVED :D
We solved our problem we had found the source of our error, we had not imaged our cRIO correctly, we used our image from last year. But anyways thank you so much for all your help.
|
Re: Microswitch only returns 0
Quote:
Verify the Digital Sidecar connections for us please, and if that is as specified above, then it's not the switch. Answer these specifically: What is the RSL doing? What are the 3 green LEDs on the DSC (by the RSL connection) doing? Thanks. |
| All times are GMT -5. The time now is 04:59. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi