View Single Post
  #6   Spotlight this post!  
Unread 06-12-2008, 18:46
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,799
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: LabVIEW with NXT sensors

P.S.
LabVIEW comes with some examples using the I2C vi's to take input from an NXT compass and an NXT accelerometer.

When you fire up LabVIEW, on the bottom right under "Examples," you'll see "More..."
Click on "More..." and you'll get a list of examples including:
HiTechnic Accel Example
HiTechnic Compass Example

Open one of those up, say the Accel one, and in the Block Diagram you'll see the Accel Open subvi. Double click on that, open the Block Diagram window, and you'll see how the I2C communication is handled.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote