How can we control on board four LEDs on MyRIO directly from data dashboard with no LabView programme running on PC (Switch off PC)??...Meaning that DashBoard is directly communicating with MyRIO not through PC....I have controlled LEDs though the dashboard application by making shared variables in LabView MyRIO programme running in PC. Is there any way to save the programme in memory of MyRIO or upload the programme on MyRIO so that it needs not to communicate directly in Real Time with LabView in PC and we are able to control the pre saved or pre uploaded programme in MyRio through dashboard without the need of host PC?
The program you wrote on the PC to control myRIO LEDs can be deployed on the myRIO and configured to run standalone (without the PC). This will enable you to control them directly from Dashboard (no need of PC).
You will find articles on NI website for that.
Your answer contributed a lot and I have deployed standalone application on NI MyRIO by going through Youtube Video mentioned in Appendix B of NI myRIO Project Essentials Guide (Link: https://www.youtube.com/watch?v=JXoJECRS-eo ). Now How to access the uploaded Standalone MyRio project from dashboard?? Will it be the same as accessing of the simple project by connecting to the shared variables by providing the ip address OR connecting through the web services?? I have searched the NI website but cannot find any tutorial or video related to running a standalone (deployed on MyRIO) project on data dashboard.
You should be able to access the shared variables in the Dashboard. No need to do anything different. Remember to turn off Firewall and have the Dashboard device and myRIO on the same WiFi node.
Just add Shared variable in the project, use them in your myRIO code and access using Dashboard app. Once access is ready, you can deploy the myRIO application as standalone and Dashboard should still be able to acees the shared variables.
Thanks a lot !!! I have solved the problem completely, Now my data dashboard on smart phone is directly communicating with MyRio 1900..Here are major steps how I did it for the help of the others.
*****For the present case its ""Random Number Generaotor Graph Monitoring through Smart Phone""*****
1- Connect your MyRio 1900 with PC with USB cable and click on configure MyRIO on the pop up menu...this will take you to the ethernet IP address of MyRIO in your browser (Silverlight needed) now from Networks option Select Create Wireless network and set the name & password of Wireless network created by MyRIO & hit save. Now MyRIO would be broadcasting its own Wireless signals. Connect your PC and smart phone or tablet to it and disconnect USB cable from PC.
2- Create a MyRio project in LabView MyRio 2013.
3- In project explorer right click on the target Controller MyRIO 1900 and from properties provide Wireless ip address (Can be found from Configure MyRIO in browser or from NI MAX by selecting the MyRIO 1900). Now right click the target MyRio 1900 and hit connect.
4- Now right click again on MyRIO 1900 and create new Variable. Save the library and right click on the Library and hit Deploy.
5- Now in New VI under MyRIO 1900 in project explorer make your block diagram.. I created a 0 to 1 random Number generator..dragged the Variable from project explorer..changed its access mode to Write by right clicking it..and connected it to 0 to 1 random Number generator.
6- Right click Build specifications & create a Real Time Application by going through https://www.youtube.com/watch?v=JXoJECRS-eo .Now Save the project and run it.
7- From your Smart phone open the app go to connect to shared variables provide the IP address of MyRio Wireless network..There will be library of shared variables that you named and saved under MyRio in project explorer..Now select the library and the shared variable you created..Select suitable Monitor or Control Palette. For my case I selected graph.
8- Play the VI on your mobile or tab the graph would respond randomly between 0 & 1...Now it would continue to respond even if you Shut Down or hibernate the PC because of Real Time Application presaved in MyRIO.
***MAKE YOUR SHARED VARIABLES UNDER MYRIO 1900 IN PROJECT EXPLORER NOT UNDER MYCOMPUTER
***THERE ARE NO CONTROL PALETTES IN SMART PHONE VERSION KITKAT 4.4.2 OF DATA DASHBOARD..ONLY MONITORING PALLETES ARE THERE WHICH ARE NUMBER, GRAPH AND DIAL BUT IN TABLET AND IPAD DUE TO LARGER SCREEN THERE ARE ALSO CONTROL PALETTES.
FYI, the controls are available on the tablet version of Dashboard application.
I can control buton and led as shared variable by using only MyRio and tablet (without PC- stand-alone application). But I couldn't get numeric, chart, gauge, etc. values from MyRio to the data dashboard on the tablet. How can I acquire these values from MyRio?
Thanks a lot,