Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Setting a switch On The Dashboard Help (http://www.chiefdelphi.com/forums/showthread.php?t=134302)

sarah_storer 10-02-2015 16:47

Setting a switch On The Dashboard Help
 
We want to be able to set a switch on the dashboard so we could switch between autonomous can someone help me with this? Any help will be gratefull.::rtm:: ::rtm:: I will be waiting.

Optimism 11-02-2015 02:43

Re: Setting a switch On The Dashboard Help
 
The simplest method is to use a combo box on the front panel (which would allow for multiple autonomous selections and an easy/interaction drop down menu), right click on "Edit Items", and then input your items/values. Then in the block diagram, wire the combo box into a smart dashboard write value vi and name the variable (all of this in Loop 1 of the dashboard project). In your autonomous vi, read the value of the variable in using the smart dashboard read value (make sure to use the same name of the variable) and then wire that into a case structure and program your autonomous actions in the case structure.


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

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