|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
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 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |