Go to Post Theres just something about a big honkin' robot that's irresistible. - seanwitte [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
  #16   Spotlight this post!  
Unread 11-02-2012, 11:15
Pirate programe's Avatar
Pirate programe Pirate programe is offline
Registered User
FRC #0354
 
Join Date: Jan 2012
Location: Queens,NY
Posts: 53
Pirate programe is an unknown quantity at this point
Re: Sending Data from Dashboard to Robot?

Quote:
Originally Posted by Greg McKaskle View Post
First off, that is quite the error message, but to answer the question.

It looks to me like the flatten and unflatten nodes do not match. You turned off the prepend size on one and left it unwired and on on the other. My suggestion would be to delete the False constant and leave it default. The case where you decide not to send size info is when it is a fixed amount in the protocol and the size is just extra overhead.
That actually worked! the Periodic Tasks VI is receiving the information.

Quote:
Originally Posted by Greg McKaskle View Post
Kinda like in the other threads about comms, rather than delay your read loop, you can just let the read control the speed of communications. If you aren't careful, your read gets a little behind and cannot catch up.

I can't see a delay in the write loop, but hopefully something throttles how often it sends data.

Greg McKaskle
I'm not sure, but it does seem like the UDP Read is slowing down the rest of the code (we're getting a whole lot of watchdog expirations and the Driver Station is acting pretty wonky, and it doesn't appear to be updating the Global variable I've wired it to.

Also, the UDP Read Vi is still receiving information when the code isn't running at all. WTF?

Last edited by Pirate programe : 11-02-2012 at 11:28.
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 04:33.

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