Go to Post I think we have officially reached the stage of having too much time on our hands. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 02-12-2011, 02:08 PM
FenrisKiba's Avatar
FenrisKiba FenrisKiba is offline
Registered User
FRC #2603
 
Join Date: Jan 2011
Location: Medina, OH
Posts: 7
FenrisKiba is an unknown quantity at this point
Question Dashboard mixes up ports

So we're trying to set up our Dashboard to display digital IO data (specifically out line follower data) and even though it is giving us the correct data it places it in the wrong spot on the Dashboard. It seems to think that port 7 is port 10, port14 is port 3, and port 10 is port 6. Any help with this issue would be greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2011, 02:09 PM
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Dashboard mixes up ports

Could you please post full source code?

Are you using the same code from the Dashboard Data sender example project to send data?

Did you make your own Dashboard application in LabVIEW?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-12-2011, 02:32 PM
FenrisKiba's Avatar
FenrisKiba FenrisKiba is offline
Registered User
FRC #2603
 
Join Date: Jan 2011
Location: Medina, OH
Posts: 7
FenrisKiba is an unknown quantity at this point
Re: Dashboard mixes up ports

We did not modify the Dashboard in any way and are using out own code. We used the normal sendIOPortData method but we did edit the .cpp file a bit (following the instructions we found here: http://tinyurl.com/InstructionsWeFollowed). I attached the main code and the extra .cpp that the DashboardDataSender needs.
Attached Files
File Type: cpp DashboardDataSender.cpp (5.6 KB, 4 views)
File Type: cpp MyRobot.cpp (3.7 KB, 3 views)
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


All times are GMT -5. The time now is 10:43 AM.

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