Getting Started with SystemLink Cloud

The Basics

What is SystemLink Cloud?
SystemLink Cloud is a new cloud-based platform offered by NI. It enables you to securely access, monitor, and interact with applications from anywhere in the world without the burden of hosting and managing a server yourself. SystemLink Cloud hosts a suite of services, which includes a hosting service, a highly-scalable data service, and a drag-and-drop dashboard service. Access SystemLink Cloud with your credentials to start enhancing your applications now.
Deciding Whether SystemLink Cloud Is Right for You
Unsure if SystemLink Cloud is right for you? Check out our GitHub example to see what SystemLink Cloud can do.
What do I need to access SystemLink Cloud?

Getting Ready for Development

To build applications that access SystemLink Cloud, you need to install one of the following product combinations with NI Package Manager:
If you do not have NI Package Manager, download and install the latest version now.
Once you obtain your SystemLink Cloud serial number, you’re ready to access SystemLink Cloud.
  1. Go to SystemLink Cloud and log in using your credentials.
  2. Enter your SystemLink Cloud serial number in the Serial number field.
  3. Accept the Terms of Services.
Welcome to SystemLink Cloud!
To connect your web app to SystemLink Cloud from LabVIEW NXG 3.0 Web Module, you need a server url and an API key. The API key authenticates the web application running on your local machine for SystemLink Cloud – much like your credentials authenticate your identity.
  1. Go to Security.
  2. Click + New API key button to create an API key.
  3. Click Copy key to save the API key. Note: You will only see the API key once, so it’s extremely important you keep it somewhere safe.
  4. Open LabVIEW NXG and create a WebVI. Tip: Use the Web Application Project template to easily create a WebVI.
  5. Go to the diagram and navigate to Data Communications»SystemLink»Configuration.
  6. Select the Open Configuration node and drag it to the diagram.
  7. In the Function configuration dialog box of the Open Configuration node, select API Key. Changing the configuration of this node enables you to establish a connection with SystemLink Cloud.
  8. Provide the copied API key as the api key.
  9. Enter as the server url.
Your web application is now connected to SystemLink Cloud from LabVIEW NXG 3.0 Web Module.
Hosting a Web Application on SystemLink Cloud
For SystemLink Cloud to host your web application, you must build a package file (.nipkg) of your application and upload the package on Web apps. Follow the steps below to upload your web application on to SystemLink Cloud.
  1. Repeat steps 4-7 in the previous section to create a WebVI and configure the Open Configuration node.
  2. Leave the api key and server url inputs empty to minimize security vulnerabilities. Your credentials authenticate the application when you upload it on SystemLink Cloud.
  3. Click File»New»Distribution. The Distribution document opens and appears in the project.
  4. On the Document tab, select Web Server as the Build target.
  5. For the Output type, select Package.
  6. In the Distribution document, click the Add Application/Library button.
  7. In the Add Application/Library dialog box, place a checkmark next to the application or library you want to distribute. Click OK.
  8. On the Document tab, enter values in Company and Product.
  9. In Output directory, set the location to save the distribution output.
  10. In the NI Package section, enter information about the distribution output.
  11. Click File»Save all to save all files.
  12. Click Build distribution. The Build Queue tab shows the status of the build process.
  13. Open a web browser and go to Web apps.
  14. To upload your web application, click Choose .NIPKG and select the package you just built.
  15. Once the upload is complete, click on your web app to interact with it.

Building Dashboards

Visualizing Tag Data on a Dashboard
Create a custom data visualization panel, or dashboard, using SystemLink Tags and Dashboard Builder.
  1. Go to the Dashboard Builder.
  2. Click +NEW to create a new dashboard.
  3. Enter a name for the dashboard and click OK.
  4. At the top of the dashboard editor, select the screen size for which you want to optimize your dashboard.
    Tip: Hover over the screen size bar to view the various screen sizes before selecting one.
  5. From the left palette and tags pane, drag the control or indicator you want to use to visualize tag data onto the dashboard. You can find all tags currently stored on your server in the Tag Viewer. For more information about which data type controls or indicators to accept, refer to the tag formatting help.
  6. Drag a tag from the tag viewer onto a control or indicator to bind it to the tag's value.
  7. From the right property editor pane, bind the input properties to tag values and properties.
    1. Drag and drop the tag into any field in the property editor pane, or click the next to the field and type a tag name. The field turns blue to indicate it is bound to a tag. For more information on binding to tag properties, refer to binding syntax help.
    2. If you want to bind an items control, such as a drop-down list or radio button group, click Bind as tags to interpret the string displayed in the control as a tag. For more information on specifying values for Items controls, refer to the Items control help.
    3. To create more complex bindings, such as binding one control or indicator property value to another, refer to the binding syntax help.
  8. In the property editor pane, specify any other customizations for the input or output in your dashboard, such as format and display options.
  9. Repeat steps 5 through 7 for any other inputs or outputs you want to include in the dashboard.
  10. Click Save and Play to view your dashboard.