View Full Version : RoboRealm to Labview help
Kuh-Nig-ItsEML
28-01-2014, 19:46
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
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
...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
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
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.)
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.