Go to Post Put on shows. Start new teams, FRC, FVC, or FLL. It doesn't matter. But I know that being on the robotics team has given me some of the best memories of my life, and I wouldn't want anybody else to miss out on that. - irishninja [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-02-2009, 11:15
jrz126 jrz126 is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Erie, PA
Posts: 12
jrz126 is an unknown quantity at this point
Set User Data Help

I'm trying to send some camera target info back to the driverstation. I'm not sure how to send back the "area %" though.

At first i tried sending it directly through and I would only see a value of 0-1 on the driverstation. I think the area % was actually reading 0.4-0.5 so it may have just been rounding?

I tried typecasting it to a 32bit integer. which converted it from a floating point to a big integer number. On the dashboard though, it appears that it is only sending the least significant bits.

Is there an easy way to break this number up into an array of 8 bit numbers? Also, what does the little red mark mean on the last input to the build array block and the set user data block?
Attached Thumbnails
Click image for larger version

Name:	setuserdata.JPG
Views:	34
Size:	14.4 KB
ID:	7475  
Reply With Quote
 


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
Sending user data, parsing user data. demosthenes2k8 NI LabVIEW 3 30-01-2009 13:51
User code (syntax error, help?) Kuiper Programming 2 23-06-2008 18:33
Looking for CHP Field Set-up Help RoboMom Championship Event 2 15-04-2006 14:12
Need help with Data recovery [urgent] plutonium83 Chit-Chat 7 11-01-2005 10:35


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

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