View Single Post
  #1   Spotlight this post!  
Unread 07-02-2009, 21:44
bobwrit's Avatar
bobwrit bobwrit is offline
//No Comment
AKA: ...
FRC #1977 (Loveland High Robotics)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Somewhere
Posts: 298
bobwrit is just really nicebobwrit is just really nicebobwrit is just really nicebobwrit is just really nicebobwrit is just really nice
DIO Signal, Channel, slot, and Vex UltraSonic

Ok, I'm trying to wire up a 8 bit switch up to the DIO of a sidecard that is attached to cRio module 4. The switch is in DIO position 1 & 2. The question I have is, when the context help refers to channel, and slot, what are they reffering to? Also, when we are using the get DIO value vi, it only returns a boolen, what a switch is suposed to do is return a value, right? So, how do I get the value?


Another question we have is, we have a vex ultrasonic sensor atached to DIO 3 & 4, and when we use the get range vi that labveiw supplies(after opening it of course), it always returns 0 in. We have the ultrasonic open outside of our teleop loop & case and the deviceref connect directly to the get range vi within the loop & case. When we turn execution highlighting on, the error wire is returning ok at all points before and after the get range vi. Any help?
__________________

FRC Team 1977 Alumni

Has Attended:2008 Colorado regional
2009 Colorado Kickoff
2009 Colorado Regional
2010 Colorado Kickoff
2010 Colorado Regional




The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!"(I found it!), but rather, "Hmm.... That's funny" ---Isaac Asimov
Chance favors the prepared mind ---Louis Pasteur
And you can tell me, that I can't make a diffrence because I'm just one, but one is all it takes to start it. And you can tell me, that I can't change the world because I'm too young, but I wont stand here and be your target. ---FM Static

Last edited by bobwrit : 07-02-2009 at 21:51. Reason: Added another question
Reply With Quote