Go to Post ask not what your alliance picks can do for you, but what you can do for your alliance picks. - Swan217 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Signal wire gauge and color. sparrowkc Electrical 4 10-03-2010 19:51
DIO not working in autonomous. adamdb NI LabVIEW 10 12-02-2009 01:23
Open motor reference on Slot 6 DIO Module trilogy2826 NI LabVIEW 2 27-01-2009 08:42
Using DIO pin 14 as timer source? Jared Russell Programming 1 12-02-2006 00:02
Robots and the Learning Channel.... archiver 2000 0 24-06-2002 00:16


All times are GMT -5. The time now is 10:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi