Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   RoboRealm to Labview help (http://www.chiefdelphi.com/forums/showthread.php?t=125398)

Kuh-Nig-ItsEML 28-01-2014 19:46

RoboRealm to Labview help
 
3 Attachment(s)
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

Greg McKaskle 28-01-2014 21:10

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

Alan Anderson 28-01-2014 23:07

Re: RoboRealm to Labview help
 
Quote:

Originally Posted by Greg McKaskle (Post 1333924)
...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?

Joey1939 29-01-2014 08:55

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.

bvisness 29-01-2014 11:22

Re: RoboRealm to Labview help
 
Quote:

Originally Posted by Greg McKaskle (Post 1333924)
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.)


All times are GMT -5. The time now is 09:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi