Go to Post amazing stuff. - Specialagentjim [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2009, 13:02
VeedotJaydot VeedotJaydot is offline
Registered User
FRC #1379
 
Join Date: Sep 2008
Location: Norcross, GA
Posts: 11
VeedotJaydot is an unknown quantity at this point
Using Limit Switches in LabVIEW

I'm confused on how to use limit switches in labview, first off, are they digital or analogue, and where is the .vi that opens limit switches?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2009, 15:18
chmp09 chmp09 is offline
Registered User
AKA: Marc Pulte
FRC #1702 (Robocubs)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Troy, Michigan
Posts: 25
chmp09 is a jewel in the roughchmp09 is a jewel in the roughchmp09 is a jewel in the rough
Re: Using Limit Switches in LabVIEW

Limit switches are digital. All you have to do is use the dio in open vi to initialize the port. The dio in get vi will return a boolean.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2009, 16:01
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Using Limit Switches in LabVIEW

The DIO (Digital Input Output) VI that chmp09 refers to is in

WPI Robotics Library-> IO -> DigitalInput -> GetValue.vi

The digital input will typically default to True (e.g. is electrically pulled up to +5V) so if you wire a normally open (N.O.) limit switch between the signal pin and the ground pin, the GetValue.vi input will go False when the switch is closed.
Reply With Quote
Reply


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
Limit Switches popnbrown NI LabVIEW 1 10-02-2009 22:39
Toggling boolean using 2 limit switches Quarkster NI LabVIEW 2 02-02-2009 22:43
Limit switches(in C++) beefy1 Programming 3 24-12-2008 15:27
Using Limit Switches with the Arm iwin2000 Programming 3 18-02-2008 03:52
Limit Switches ChrisR_522 Programming 2 25-01-2008 08:04


All times are GMT -5. The time now is 21:37.

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