View Single Post
  #23   Spotlight this post!  
Unread 03-04-2011, 14:55
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 689
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: Arduino and LabVIEW

Okay, back at the ranch... I tried with and without a resistor (10K and 1K -- that's okay? It's all I had). Signal from DIO connected to the Arduino 7 pin and also to a resistor to Arduino ground. I hope I got that right? I also took the delay out. With a resistor, it's always zero. Without, the Low/High is
Code:
11111100000000
11111100000000
11111100000000
11111100000000
11111111000000
11111111000000
11111111000000
11111111000000
1111111100000000
11111100000000
11111100000000
11111100000000
11111100000000
11111111000000
11111111000000
11111111000000
11111111000000
1111111100000000
11111100000000
11111100000000
11111100000000
11111100000000
11111111000000
11111111000000
11111111000000
11111111000000
1111111100000000
(I manually formatted it -- it's a 128 bit cycle, not that I checked it all.) Pressing the joystick button gets a true/false to the DIO out set vi, but no changes to the pattern.
Reply With Quote