Using RoboRealm with LabVIEW

Last year our team had a successful vision tracking code which we accomplished using Vision Assistant. This year, however, our team is looking into RoboRealm. We have messed around with RoboRealm in the past and currently we have a filter that accurately outlines the targets.

From what I have found, RoboRealm is more for those using c++ or java. However our team has little to no knowledge in that area. We are looking at just using the API server in RoboRealm and TCP commands in LabVIEW to communicate between the 2. From what we found at this page: RoboRealm - RoboRealm and LabVIEW
it seems plenty possible.

We have looked into the API server for RoboRealm and have yet to successfully set up connection. We even found several LabVIEW codes (such as the one that is attached) related to using tcp to connect to RoboRealm, but we am having difficulty figuring out how it works and how it all fits together.

Could anyone give some insight on how exactly we can about using RoboRealm through LabVIEW?

tcp_connect_to_roborealm_final.vi (63.6 KB)


tcp_connect_to_roborealm_final.vi (63.6 KB)

The most recent version of RoboRealm supports SmartDashboard, and so does LabVIEW. So you are able to use TCP, but you probably don’t need to if you don’t want to.

Greg McKaskle

How exactly could I go about connecting RoboRealm to the SmartDashboard? Could you please explain a bit more?

The RoboRealm guys explain that side: http://www.roborealm.com/FRC2013/ (See Communication)

On the LabVIEW side, you can probably use the example SmartDashboard code in the default framework project and dashboard project to figure out how to get the values on the Dashboard and/or robot.