Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Displaying Target Info on Dashboard (http://www.chiefdelphi.com/forums/showthread.php?t=113596)

mcristina444 15-02-2013 21:32

Displaying Target Info on Dashboard
 
In the 2013 Rectangular Target Vision Example(integrated into robot code), the Target Info is being written to the Smart Dashboard, but in the Dashboard code, how does one access this data?


An SD Read Numeric Array to Index Array, would that produce the elements in the same order?



Target Info includes

Greg McKaskle 16-02-2013 07:48

Re: Displaying Target Info on Dashboard
 
The code in the images looks like it will successfully read the target info about the largest and most likely target.

Since you are posting, I'm assuming it isn't working or isn't working well. You state that the vision code is on the robot, so you want to read the target info on the dashboard? Make sure that it is in a loop that is running. If you probe data, the probe will tell you the last time it was updated and if you don't see the data update at least once a second, you may need to look at putting it into a loop or making your own loop. Consider how often the loop should run and any logic that may affect how often it runs.

Greg McKaskle

mcristina444 16-02-2013 16:15

Re: Displaying Target Info on Dashboard
 
Quote:

Originally Posted by Greg McKaskle (Post 1234236)
The code in the images looks like it will successfully read the target info about the largest and most likely target.

Since you are posting, I'm assuming it isn't working or isn't working well. You state that the vision code is on the robot, so you want to read the target info on the dashboard? Make sure that it is in a loop that is running. If you probe data, the probe will tell you the last time it was updated and if you don't see the data update at least once a second, you may need to look at putting it into a loop or making your own loop. Consider how often the loop should run and any logic that may affect how often it runs.

Greg McKaskle

Since we are so close to the deadline, I don't have much access to play around with code. Today I will have access to see how well it works.

I also posted here to give other users a nice reference, if they have a similar question.


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

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