Go to Post How are you planning to teleport balls? Or your robot? I was pretty sure that the battery couldn't supply the required power draw. - RoboChair [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 28-01-2014, 19:46
Kuh-Nig-ItsEML Kuh-Nig-ItsEML is offline
Registered User
FRC #1939
 
Join Date: Apr 2013
Location: United States
Posts: 3
Kuh-Nig-ItsEML is an unknown quantity at this point
RoboRealm to Labview help

I am trying to read the variable BFR_COORDINATES in labview from the roborealm software. Whenever I run the code it fails to read any data. Roborealm itself is producing the data but labview is not receiving the data. The attached photos are of the code in periodic tasks used to access the variable. The data table showing that the data from roborealm(on the DS) is making it to the programming computer. I believe the problem may lie within the call to the variable name but I may be wrong. Any help would be appreciated!

Thanks,
Ethan Lopez
Attached Thumbnails
Click image for larger version

Name:	inner.jpg
Views:	35
Size:	78.9 KB
ID:	15997  Click image for larger version

Name:	periodic tasks.jpg
Views:	28
Size:	49.8 KB
ID:	15998  Click image for larger version

Name:	tables.jpg
Views:	27
Size:	74.2 KB
ID:	15999  
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2014, 21:10
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: RoboRealm to Labview help

I'm not familiar with the communication mechanism you are using. I also don't have enough context to know which diagrams are running where. But I'd assume that if you are using RoboRealm, the diagrams are on the cRIO. But you are opening a .2 IP. Does that make sense?

I thought that RoboRealm also implemented Network Tables. That means you should be able to use the LV implementation of Network Tables.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2014, 23:07
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: RoboRealm to Labview help

Quote:
Originally Posted by Greg McKaskle View Post
...you are opening a .2 IP...
IP address 10.17.76.2 would belong to team 1776's cRIO. You're on team 1939, aren't you?
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2014, 08:55
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 139
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
Re: RoboRealm to Labview help

We have imaged our robot from last year as team 1776 so that we can run it and our new robot at the same time.
Reply With Quote
  #5   Spotlight this post!  
Unread 29-01-2014, 11:22
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: RoboRealm to Labview help

Quote:
Originally Posted by Greg McKaskle View Post
I thought that RoboRealm also implemented Network Tables. That means you should be able to use the LV implementation of Network Tables.
LabVIEW has built-in blocks for reading values off the SmartDashboard and Network Tables. You should just be able to put in an SD Read Numeric Array block and give it the name BFR_COORDINATES. (I forget which palette the blocks are on, sorry.)
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 09:50.

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