![]() |
Labview Dashboard issues???
1 Attachment(s)
So i followed the FIRST 2013 tutorial on putting stuff onto the dashboard, and i followed each step to the dot, but nothing on the dashboard responds to anything i've set it to respond to!
I used the SD read and write .vi's ("write" in the robot code and "read" inside a while loop in the dashboard main) and not one boolean LED lights up when a switch is pressed. :mad: Is there something wrong with the way I have the read and write vi's set up in each of the attached files? |
Re: Labview Dashboard issues???
I'm learning this Smart Dashboard thing myself.
What happens if you delete the Read SD functions from the Dashboard and just put down indicators and guages labeled B1, B2, N1 on the front panel? I don't have a robot handy to try it out but I'd sure like to know what happens. |
Re: Labview Dashboard issues???
I didn't look at all of the code, but opened up the Dashboard. The code that you added for N1, B1, and B2 was not placed in a loop, so it runs once and never again.
The green comment at the top of the diagram describes how to add controls or indicators and connect them to variables. It seems that you are close and only need to name the controls N1, B1, and B2. You can then delete the SD functions and just leave the terminals alone. If you actually want to compute the data on the dashboard and write it to the variable, then put your code and the SD update into either loop 1 or loop 2. Greg McKaskle |
Re: Labview Dashboard issues???
Thanks! Using a loop worked instantly! Wow, pretty stupid of me not to read the comment. ::rtm::
Quote:
Could you give point me to an example of a dashboard that uses maybe one number variable like mine but with out the SD function? |
Re: Labview Dashboard issues???
The default checkboxes and slider work this way. The "magic" is that the controls in the Operation tab are automatically registered with SD using the name on the control. There is no need to use SD functions with them, but you can if you wish.
Greg McKaskle |
Re: Labview Dashboard issues???
I've been looking for such a tutorial. Where did you find it? I probably looked right over it but am really looking to edit the default dashboard. Thanks.
|
Re: Labview Dashboard issues???
The more basic tutorial is in the product. Go to the Getting Started window, click the Tutorials tab on the left and choose #6.
A more updated and helpful tutorial is locate at https://decibel.ni.com/content/docs/DOC-8923 Scroll down a bit and one is specific to the Dashboard. Greg McKaskle |
Re: Labview Dashboard issues???
Thanks, looks like a great resource.
|
Re: Labview Dashboard issues???
Quote:
|
| All times are GMT -5. The time now is 02:09. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi