Go to Post The top 3 debates you don't want to bring up in a group of nerds: Mac vs PC vs Linux, Best Programming Language, and Best CAD Program. - EricH [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
  #3   Spotlight this post!  
Unread 07-02-2009, 22:06
TimeOut's Avatar
TimeOut TimeOut is offline
Registered User
AKA: Sean Kelly
FRC #0499 (The Toltechs)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: San Antonio, TX
Posts: 50
TimeOut is on a distinguished road
Re: DIO Signal, Channel, and slot

Bit switches: You need to manually determine the value of the switch. For instance, if you are using just two bits then it follows:

Bit one Bit two
False False = 0
True False = 1
False True = 2
True True = 3

something like this. The switches are your DIO inputs.

The slot is the module, you probably don't really need to set it and just use the default (module 4). For the channel, right click on the terminal select CREATE then select CONSTANT and select the proper DIO channel (1 or 2?)

I've attached some simple logic for 4 bits. There is probably a much more effecient way to do this in LabVIEW than this; but it does work

Sean
Attached Files
File Type: vi BitCounter.vi (11.6 KB, 20 views)
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 21:36.

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