View Single Post
  #1   Spotlight this post!  
Unread 13-01-2009, 09:18
Hazmatt's Avatar
Hazmatt Hazmatt is offline
Registered User
AKA: Matt
FRC #2645 (PowerSurge)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Muskegon
Posts: 51
Hazmatt will become famous soon enoughHazmatt will become famous soon enough
Using the analog sensor .vi's

So after 6 hours of troubleshooting, my programming team and I have finally found out why the analog sensors vi's weren't working in labview. First of all, when the "open" vi asks for a channel and slot input, instead of just putting in 1, 2, etc... we needed to put in "slot one" and "AI 1" for slot one channel one. Secondly, since we didn't have any analog output devices we decided we would just use channel 8 in slot one, which should have given us a modified battery voltage response. The only problem is that it seems that there is a conflict with this situation. I believe that since the DS is also trying to read the battery voltage from this channel, and so there is some sort of a programming conflict and the battery voltage won't show up in labview. I don't know if there is any work around to this problem, I just thought I would let other teams know in case there were in the same situation as ours.
__________________
Relax! It's only ones and zeros!
Reply With Quote