Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Axis VI help (http://www.chiefdelphi.com/forums/showthread.php?t=114370)

geomapguy 25-02-2013 20:41

Axis VI help
 
So we are using the FRC example in LabView that output the distance to the goals. We plan to use the driver station computer to process the images so we put the .vi in the the computer part of the robot project. How can we access this during the matches so we can see the distances?

Alan Anderson 25-02-2013 23:58

Re: Axis VI help
 
If there is a value in the Dashboard program that you want the robot program to have access to, use the SmartDashboard functions. Write the value to a named SD variable in the Dashboard, and read that same SD variable on the robot.

geomapguy 26-02-2013 08:46

Re: Axis VI help
 
Quote:

Originally Posted by Alan Anderson (Post 1240492)
If there is a value in the Dashboard program that you want the robot program to have access to, use the SmartDashboard functions. Write the value to a named SD variable in the Dashboard, and read that same SD variable on the robot.

If I use this, do I need a receiving command on the dashboard side?

Alan Anderson 26-02-2013 10:27

Re: Axis VI help
 
Quote:

Originally Posted by geomapguy (Post 1240388)
We plan to use the driver station computer to process the images so we put the .vi in the the computer part of the robot project.

I didn't notice this before.

Don't put the vision code in the robot project. None of the robot code executes on the PC unless you're running it as a simulation. Put the vision code in the Dashboard project instead.

geomapguy 26-02-2013 12:58

Re: Axis VI help
 
Quote:

Originally Posted by Alan Anderson (Post 1240583)
I didn't notice this before.

Don't put the vision code in the robot project. None of the robot code executes on the PC unless you're running it as a simulation. Put the vision code in the Dashboard project instead.


That makes a ton more sense.

How would we implement it?

https://docs.google.com/file/d/0B2OM...V0akltOVU/edit


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

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