Log in

View Full Version : Reading Published Values from External Application


person1163
16-02-2016, 20:05
In my Labview Project, I am trying to read data published to the Variable tab in the Dashboard from an external application (GRIP). It is in the folder GRIP, and the subfolder Contours.
How can I get the value to a global variable? I found the block to read data, but I don't know why it isn't working.


Thanks in Advance.

Greg McKaskle
17-02-2016, 08:20
Depending on how it was stored, it is either in /SmartDashboard/GRIP/Contours or in /GIP/Contours. The easiest way to see is to use the variables tab of the dashboard or another table viewer to compare the variable name. And remember that they are case-sensitive too and need to be read as the correct type ( number as number, string as string, etc.)

Greg McKaskle

ThomasClark
19-02-2016, 22:34
In my Labview Project, I am trying to read data published to the Variable tab in the Dashboard from an external application (GRIP). It is in the folder GRIP, and the subfolder Contours.
How can I get the value to a global variable? I found the block to read data, but I don't know why it isn't working.


Thanks in Advance.

Someone actually wrote a wiki article on using GRIP with LabVIEW (https://github.com/WPIRoboticsProjects/GRIP/wiki/Tutorial:-Run-GRIP-from-a-CPP,-Java,-or-LabVIEW-FRC-program#labview).