Go to Post So, if you feel your team is at a disadvantage, or the playing field isn't level.... Do something about it. - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-02-2010, 17:09
ssmith2 ssmith2 is offline
Registered User
FRC #1737
 
Join Date: Feb 2010
Location: Excelsior Springs, MO
Posts: 7
ssmith2 is on a distinguished road
Re: Solenoid code not working

Thanks, I will try it out with the enumerated constants. It worked like this last year but since the framework has changed some maybe it won't now. Believe it or not, the module number was 1-based even though the channel was zero based (such that channel 1 was really 0).

I will change it and try it out and let you know. It will probably be tomorrow night before I can get my hands on the physical system to test it though.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2010, 17:27
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,795
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: Solenoid code not working

Quote:
Originally Posted by ssmith2 View Post
Believe it or not, the module number was 1-based even though the channel was zero based (such that channel 1 was really 0).
Maybe they fixed that discrepancy
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2010, 10:11
ssmith2 ssmith2 is offline
Registered User
FRC #1737
 
Join Date: Feb 2010
Location: Excelsior Springs, MO
Posts: 7
ssmith2 is on a distinguished road
Re: Solenoid code not working

Believe it or not, they must have fixed that discrepancy. After simply changing from the hard coded numeric constants to the built-in enumerations it works!!!!

Thanks to all for the help.
Reply With Quote
Reply


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
C++ Sample Code not working... hm29168 CAN 5 27-01-2010 20:59
Solenoid Not Working professorX Pneumatics 7 15-02-2009 23:20
Camera Code not Working in Autonomous? Mikesername Programming 6 28-01-2009 10:14
Incrementation Code not working benhulett Programming 6 12-02-2007 17:39
Camera code not working.... DemonYawgmoth Programming 5 11-02-2006 09:21


All times are GMT -5. The time now is 11:48.

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