![]() |
Dashboard Values Not Get
3 Attachment(s)
I am helping a team who is going to champs with Labview. We are trying to display a DIO output on the dashboard.
Here is what it looks like: Attached is dashboard.png However, I can not get the value to change. Attached is relevant begin.vi Attached is relevant teleop.vi Many changes to code, no changes to Dashboard. The value does change on Global variables. |
Re: Dashboard Values Not Get
Quote:
I don't understand what you are trying to do in Teleop. It looks like you are setting the same global variable in two different places. In the spot you have labeled "Reads value", you probably want instead to write the SD value. But you still have to have a place in the Dashboard for that value to be displayed. |
Re: Dashboard Values Not Get
So if I have a dashboard program, where should I put the DIO 0 variable. Does it go with the network table ones?
|
Re: Dashboard Values Not Get
You can put it where ever you want to. When you do the read on the dashboard project it will update an indicator that you must create.
|
Re: Dashboard Values Not Get
The code that is in Begin is performing a write operation to the DB variable. The code in TeleOp is using a global variable instead. If you put the Begin code into TeleOp, I believe you will start to see the dashboard value track the DIO.
As mentioned, you may also want to modify the dashboard to bind a specific Boolean to the variable or read the DB variable and update an indicator. But the variable tab works independent of this. Greg McKaskle |
| All times are GMT -5. The time now is 18:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi