Getting Started with 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 ni.com 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?
- If you purchased LabVIEW NXG Web Module or SystemLink server and possess a current SSP for those products, you can access SystemLink Cloud.
- If you have an Enterprise Account or an Academic Site License, contact Sales to verify if you can access SystemLink Cloud.
- If you want to purchase SystemLink Cloud as a standalone product, refer to our product page on ni.com for more information.
Getting Ready for Development
To use SystemLink Cloud, you need one of the following product combinations:
- LabVIEW NXG with LabVIEW NXG 3.0 Web Module
- LabVIEW 2015-2018 with SystemLink Client 18.0
Use NI Package Manager to install the products you need. If you do not have NI Package Manager, download and install the latest version now.
Connecting to SystemLink Cloud
Once you obtain your SystemLink Cloud Tech Preview serial number, you’re ready to access SystemLink Cloud.
- Go to SystemLink Cloud and log in using your ni.com credentials.
- Enter your SystemLink Cloud serial number in the Serial number field.
- 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 ni.com credentials authenticate your identity.
- Go to Security.
- Click + New API key button to create an API key.
- 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.
- Open LabVIEW NXG and create a WebVI. Tip: Use the Web Application Project template to easily create a WebVI.
- Go to the diagram and navigate to Data Communications>>Skyline>>Configuration.
- Select the Open Configuration node and drag it to the diagram.
- 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.
- Provide the copied API key as the api key.
- Enter https://api.systemlinkcloud.com 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.
- Repeat steps 4-7 in the previous section to create a WebVI and configure the Open Configuration node.
- Leave the api key and server url inputs empty to minimize security vulnerabilities. Your ni.com credentials authenticate the application when you upload it on SystemLink Cloud.
- Click File»New»Distribution. The Distribution document opens and appears in the project.
- On the Document tab, select Web Server as the Build target.
- For the Output type, select Package.
- In the Distribution document, click the Add Application/Library button.
- In the Add Application/Library dialog box, place a checkmark next to the application or library you want to distribute. Click OK.
- On the Document tab, enter values in Company and Product.
- In Output directory, set the location to save the distribution output.
- In the NI Package section, enter information about the distribution output.
- Click File»Save all to save all files.
- Click Build distribution. The Build Queue tab shows the status of the build process.
- Open a web browser and go to Web apps.
- To upload your web application, click Choose .NIPKG and select the package you just built.
- Once the upload is complete, click on your web app to interact with it.
Visualizing Tag Data on a Dashboard
Create a custom data visualization panel, or dashboard, using Skyline Tags and Dashboard Builder.
- Go to the Dashboard Builder.
- Click +NEW to create a new dashboard.
- Enter a name for the dashboard and click OK.
- 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.
- 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.
- Drag a tag from the tag viewer onto a control or indicator to bind it to the tag's value.
- From the right property editor pane, bind the input properties to tag values and properties.
- 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.
- 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.
- To create more complex bindings, such as binding one control or indicator property value to another, refer to the binding syntax help.
- In the property editor pane, specify any other customizations for the input or output in your dashboard, such as format and display options.
- Repeat steps 5 through 7 for any other inputs or outputs you want to include in the dashboard.
- Click Save and Play to view your dashboard.