NI Labs Toolkits

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Cloud Dashboard Service

DECOMMISSIONED:

Effective August 31st, 2016 the NI Cloud Dashboard service will no longer be operating.  This page is now closed to additional comments, but we will leave the NI Cloud Dashboard Service Discussion page active to capture any additional insights.

Introduction

The NI Cloud Dashboard Service enables LabVIEW developers to write VIs that dynamically create and populate their own web-hosted dashboard.  All programming is done in LabVIEW (no HTML, JavaScript, CSS, etc) and executed on the LabVIEW target, and the dashboard is immediately available through a web portal.  You, and people you select, access the dashboard at any time from anywhere through a web browser.

NI is hosting this service on the cloud - all you have to do is create an NI Hosted Services account to gain and control access to the cloud dashboards you create and write the VIs that interact with the service.

Capabilities

Your NI Cloud Dashboard is controlled by the VI on your device, which creates and updates these features on its web portal:

  • Basic Information - key/value pairs like <Serial Number>:<DN0156>
  • Event messages - like "Device went online" and "Over-temperature condition"
  • Data feeds - graphs of current data being sent from the device
  • Triggers - toggles to initiate/terminate activities on the device

Once you've created a dashboard you can use the portal to share it with other NI Cloud Dashboard users.

NI Cloud Dashboard.png

Limitations

The NI Cloud Dashboard service is a research prototype and is not as robust as a supported web service.  Please limit your use of the service to eight devices, and a maximum of eight data feeds per device.  If you would like to conduct tests with larger numbers of devices and data feeds, please contact lvcloudoperations@ni.com in advance.

Over-use or abuse:  If you generate too much activity NI will first request that you reduce your activity via the e-mail address associated with your NI Cloud Dashboard account ("your e-mail address").  If that fails, NI may terminate your devices or terminate your NI Cloud Dashboard account at its discretion.

Clean-up and Purging:  NI will periodically scan the service for "stale" devices, meaning there has been no recent activity on the service or the portal from that device, and delete those devices. NI will attempt to notify you in advance via the e-mail address associated with your NI Cloud Dashboard account.

System Requirements

LabVIEW 2013 or later and a PC or NI hardware with an internet connection.

Feedback & Support

Please post any questions, comments, bug reports, or other feedback in the NI Cloud Dashboard Service Discussion.

The NI Cloud Dashboard Service is provided as an unsupported service.  If you encounter a problem with this service, have usage tips to share, etc., please post to the general discussion forum for this service: NI Cloud Dashboard Service DiscussionDo not call National Instruments for support of this service.

The attached Code is provided As Is.  It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments.  You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at http://ni.com/samplecodelicense.

Getting started with the NI Cloud Dashboard

Create an NI Cloud Dashboard account

Here's how you get your account created

  1. Navigate to cdb.niwsc.com/dashboard/#/
  2. Click/tap on "Create Free Account"
  3. Enter your e-mail address and click/tap "Sign Up"
  4. Check your e-mail inbox for a message containing your account creation instructions
Find your NI Cloud Dashboard portal

Complete the following steps to log into your NI Cloud Dashboard:

  1. Navigate to cdb.niwsc.com/dashboard/#/
  2. Click/tap on "Sign in"
  3. Enter your e-mail address and password
Create and download an access key

The VIs you write will need a key to access your NI Cloud Dashboard service

  1. Sign in to your NI Cloud Dashboard portal from your development PC
  2. Click on "Keys"
  3. Click "Create New Key"
  4. Enter a name and expiration date, then select the permissions for this key
    1. For the example, select read, write, and enabled
  5. Find the new key in the list, and click/tap on "Download" to save it onto your development PC
    1. Give it an easy-to-remember name, like "keyFile.txt"
    2. Remember where you saved it.
Get the Cloud Dashboard.vi example

The example demonstrates how your VIs interact with the NI Cloud Dashboard service. 

  1. Download the VIP file attached below.
  2. Run the VIP file (with VI Package Manager) and follow the instructions on the screen to:
    1. Accept the license agreement
    2. Choose the default location to install
    3. Install an "NI Cloud Dashboard" link in LabVIEW help
    4. Add a Cloud Dashboard VI palette to NI Add-ons
Run the Cloud Dashboard.vi example

These instructions can also be found on the NI Cloud Dashboard help docs online at: http://cdb-help.niwsc.com/ under "example" 

  1. Open the Cloud Dashboard.vi example in LabVIEW
  2. Enter the key you created and downloaded into the "file path to keyFile.txt" field
  3. Run the VI
  4. Sign in to your NI Cloud Dashboard portal at cdb.niwsc.com/dashboard/#/
  5. Click/Tap on "Devices" to see your demo device
  6. Explore:
    1. Click on the chart icon to see data feeds from your device
      1. Currently, there aren't any
    2. Click on the cloud with up arrow icon to see triggers to control your VI.
      1. Click the "Initialize" trigger to:
        1. Create two data feeds
        2. Create a new "Start" trigger
    3. Click the chart icon to see that data feeds have been added
      1. Note:  There isn't any data being published yet - you have to trigger that, too.
    4. Click the cloud with up arrow icon to see your triggers again
      1. Click on the "Start" trigger to:
        1. Tell your VI to start publishing simulated data
        2. Create two new triggers - "Done" and "Pause"
    5. Return to the data feed area to see the data being published.
      1. Click on the eye icon to the left of each feed to hide/show that feed.
    6. Explore:
      1. The information icon - information about your device
      2. The envelope icon - messages from your device
      3. The people icon - share your cloud dashboard
      4. The gauge icon - see the complete dashboard.
    7. Return to the trigger area
      1. Click the "Pause" trigger to temporarily stop the data feeds
      2. Click the "Done" trigger when you are finished
        1. WARNING:  This will delete the device and all of the triggers, events, and data feeds associated with it.
        2. To see them again, re-run the VI
Write your own VIs that create and manage cloud dashboards

Now that you have the Cloud Dashboard.vi example under your belt, and the VI palette installed in LabVIEW, start building your own dashboards.  The documents at http://cdb-help.niwsc.com/ and in LabVIEW help explain how to use the VIs and what shows up in the dashboard.

Comments
Member chrylarson
Member

The Cloud Dashboard VIP requires LabVIEW 2013 with SP1.  If you only have LabVIEW 2013 installed without SP1, then the JKI VIPM will not allow you to install the Cloud Dashboard Add-on.

Also update the JKI VIPM to the latest version.

I build web apps for LabVIEW
http://chrislarson.me
Member SteveC_43
Member

Thanks for this! I can't wait to try it.

Member chrylarson
Member

I made a getting started video  http://youtu.be/qix5BUyVyB4

I build web apps for LabVIEW
http://chrislarson.me
Member Theo_K
Member

tip: For those who are checking out these comments hoping to find out why the package won't install despite running LabVIEW 2013 SP1, simply update your VIPM to the latest version.

Member chrylarson
Member

Thank you Theo_K for discovering and sharing this solution.

I build web apps for LabVIEW
http://chrislarson.me
Member ngblume
Member

Hey,

I'm just starting to integrate this feature into a project.

Is there any change to host a server of my own for the Cloud Dasboard?

I'm asking, because some of the data we would like to record is sensitive and it is only needed locally and should be stored locally.

Two more questions:

How is the data stored on the server ? A databsae ?

Is the device constantly polling for triggers or are they send to the device once a trigger is activated?

Thank you!

Kind regards

Niels Göran

jmdh
NI Employee

We answered these questions on the discussion page:  https://decibel.ni.com/content/thread/23761

Member Wim.Tormans
Member

Quick comment ....  I installed clouddashboard in 2013 SP1 and 2014, but the example that ships with the package isn't working. triggers are ok, but the graph on the page isn't updating.

W.

Member VenuGopal@57
Member

This is great

I have a doubt regarding this service Ease there any possible that i can import my google map in the cloud dashboard? 

Venugopal
Member VenuGopal@57
Member

I have a doubt regarding this service Is there any possible way that i can import my google maps in to  the cloud dashboard?

Venugopal
jmdh
NI Employee

There is currently no way to import a google map into the cloud dashboard.

We had not considered the use of maps in the Cloud Dashboard service - it focuses more on the device and the data feeds produced by the device.  However, we are very interested in hearing about desired features.

Can you describe in more detail how you would like to use maps in the dashboard?

britzelm
NI Employee

Hello Chris / John,

I've tried to create a account for cloud dasboard but when I try to sign up i doesn't work.

Stefan

Member whackett
Member

Stefan,

Thank you for brining this to our attention.  The issue should be resolved now.

Sorry for the inconvenience.

If you see further issues, you can send us an email at lvcloudoperations@ni.com.

Thanks,

Bill Hackett

LV Cloud Operations

Member 60023
Member

hello guys am using labview 2012 version how can i get cloud dashboard.vi example

jmdh
NI Employee

Hi, Goose:

The NI Cloud Dashboard Service is currently only supported for LabVIEW 2013 and later.

Are you just wanting to explore the NI Cloud Dashboard Service, or do you have a particular application in mind?  If the latter, are you willing to share the details and scope?  The more information and feature requests we get from potential customers, the more likely we'll extend the service.

Thanks!

Member YulsLaw
Member

Hello! Nice to meet you!

I am a master course student at Korea.

I want to learn a many LabVIEW skills.

Anyway have a nice day!

Member 60023
Member

i  installed labview 2013 how to install sp1 .where i can get the sp1 tool for cloud dash board

Member karmeng
Member

Hi,

The link is at the end of this article. Or you can download it from https://decibel.ni.com/content/servlet/JiveServlet/download/38359-13-84471/national_instruments_lib_...

Member 60023
Member

i have installed labview 2013 and also installed vi package manager

2013 but when am trying to install cloud dashboard is shows "the package is

not compatable with labview instaled on your computer..plese do suggest me1.JPG

Member 60023
Member

is it coud dash board is compatabe with labview 2013(64bit)???

Member mouradGEII
Member

hi every one ,i just installed the package and opened the exemple ,i did the some steps as u told ,i created a key and add it to u're project ,but when i run it ,the "current state" keeps changing between "clearing" and "aborting" ,and my project in the list of devices keeps appearing and vanishing,and there is nothing in events and triggers.please help me.where is the problem ???

marshall.smith
NI Employee

The most likely cause is a key that doesn't have write permissions.  I tried creating a key with only read permissions (which is the default setting) and got the same behavior you saw.

Go to http://cdb.niwsc.com/dashboard/#/keyService and check if your key has both read and write permissions. If it doesn't, you can edit it and your application should start working.  You shouldn't have to download the key file again.

Member mouradGEII
Member

i checked ,the key has the both permissions and it's enabled ,but it's still the same problem,nothing in triggers and events.

Revanth
NI Employee

@mouradGEII .. we will try to reproduce the issue and will let you know what might be happening.

Revanth
NI Employee

@mouradGEII .. couple of quick questions

What is the version of labview you are using ?

What is the expiration date on the apikey ?

Member chrylarson
Member

The expiration date is a date in the future, after that date the API key will stop working.

This might be good if you have an installation that should only work for one month. At the end of the month the API will automatically be invalidated.

For test the expiration date can be set to a year in the far future, such as Januray 1st, 2025.

I build web apps for LabVIEW
http://chrislarson.me
Member mouradGEII
Member

i'm so sorry @Revath ,i was little busy these days .... i'm using LabView Windows 13.0 32 bits ,expiration date is 5th april 2015 12 AM ,i really hope u find the problem ,cause i want to use it in my controle/supervision mini-project

Revanth
NI Employee

@mouradGEII .. the minimum requirement for the Cloud Dashboard VIP to work is LabVIEW 2013 with SP1.

Member mouradGEII
Member

yes i do have the sp1 ,it's just the frensh version i1.bmpi2.JPG

marshall.smith
NI Employee

@mouradGEII .. We haven't been able to reproduce your issue here yet.  Could you zip the folder with your example in it and post it here so we can see if there is some difference in the code we are running?

Thanks,

Marshall Smith

Contributors