Go to Post Any adult can open a door. Some can give direction. A few can give leadership. These are the true mentors. This is where true success comes from. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 24-03-2010, 22:08
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: How to read Cypress values properly?

I posted a few answers marked with ***s.

The axes of the accelerometer return "weird" values. How do I read them properly? For example, what value will I get for tilting it horizontally?

*** It may be easiest to look at the enhanced I/O page and tilt the board back and forth to note which is X, which is Y, which is positive and which is negative.

The touch proximity value seems to work only when the antena supplied in the kit is connected. Is there a way to make it work without it?
Also, how do I read its values properly?

*** I assume you could wire it to an isolated rivet or screw head. Honestly, it didn't seem to work that well, so I don't know it is worth it.

I read that some of the connectors on the cypress board can be used as PWMs. How can I configure it that way in the program and on the board?

*** You configure the period using either the configuration VI or the configuration dialog. You set the PWM ratio using the Enhanced I/O VI specifically for this value. Honestly, I'm not sure what you would normally use the PWM generation for on a driver station, but the HW does it, so there it is.

In Labview, there is a VI that allows me to set the mode of each digital channel (Set Enhanced Digital Config VI). However, I noticed you can do the same when you click the "configure" button in the I/O tab on the Driver Station.
Is there a difference whether I change it in the program or on the DS? Are they synced?

*** The config page is the initial config settings, and most likely all you'll need. On the other hand, it seemed useful to allow the robot control the configuration. This would allow easier swapping of the DS.

Greg McKaskle
 


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
How to properly connect and program servo camper365 NI LabVIEW 3 27-01-2010 16:21
Servo Values to Degrees... How? mogunus Programming 16 11-04-2007 02:03
How to set up and run a FF League properly. Alex Cormier Fantasy FIRST 4 27-02-2006 17:18
Chain..... How you do it properly? JasJ002 Inventor 12 03-06-2005 08:49
How to make gears mesh properly. sanddrag Technical Discussion 7 13-01-2004 20:19


All times are GMT -5. The time now is 03:38.

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