Go to Post sigh, I started wondering why we weren't there than I realized it was in California. Thats a bit of a road trip... - Raumiester2010 [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
  #2   Spotlight this post!  
Unread 13-01-2009, 09:32
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Using the analog sensor .vi's

The first part of that, using 1 instead of the enum "AI 1" will result in a coercion dot, and will work as long as you know the encoding. This is sometimes useful when casting between enums or when using a loop to get all values. So in other words, this isn't really an error, but when doing constants, it is much more readable to use the specific ones.

Greg McKaskle
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
Using Analog Inputs as Digital (on the OI) Guy Davidson Control System 16 10-03-2008 17:17
pic: Robostang's Analog Sensor test software Robostang 548 Extra Discussion 11 23-12-2007 09:55
Using gyro.c with other analog sensors no go Astronouth7303 Programming 17 03-01-2006 21:04
Using gyro with other analog sensors...again demerski Programming 0 19-02-2005 08:23
Using and Coding an ultrasonic sensor Jaine Perotti General Forum 14 06-08-2004 14:13


All times are GMT -5. The time now is 11:59.

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