Table Of Contents

Configuring Software

Version:
    Last Modified: July 30, 2021

    Complete the following steps to install and configure the software for first use.

    1. Reserve cDAQ-9189 chassis in Measurement and Automation Explorer (MAX).
    2. Upgrade cDAQ-9189 chassis firmware.
    3. Configure your FlexLogger project.
      spd-note-tip
      Tip  

      When configuring your device channels in FlexLogger, you can apply the same configuration from a single channel to multiple channels. Select a single channel row and press <Ctrl-C> or right-click and select Copy, then select multiple channel rows and press <Ctrl-V> or right-click and select Paste. Alternatively, select all the channels that should share the same configuration, hover over any channel and click the Configure gear. Enter a root string in the Name field to auto-enumerate the channel name from the root string. Configure the channels and click Done.

    4. Configure the Static Data Viewer.

    Reserving cDAQ-9189 Chassis in MAX

    Complete the following steps to add cDAQ-9189 chassis to your software configuration.

    1. Launch MAX from your host computer.
    2. Right-click Devices and Interfaces and select Find Network NI-DAQmx Devices.
    3. Click Select All, then select Add Selected Devices.
    4. Verify that each C Series module is listed beneath the associated CompactDAQ chassis in your system.
    5. To determine successful installation of the chassis, right click the chassis name listed under Network Devices and select Self Test. When the self-test finishes, a message indicates successful verification or if an error occurred.

    Upgrading cDAQ-9189 Chassis Firmware

    Complete the following steps to upgrade firmware for the cDAQ-9189 chassis in your system. You must upgrade the firmware for each individual chassis in your system.

    1. Launch MAX.
    2. Expand Devices and Interfaces and select your chassis under Network Devices.
    3. On the System Settings tab, click Update Firmware. By default, the file dialog window opens to the location of the firmware files installed with the NI-DAQmx driver.
    4. Select the firmware version as specified in the Static Test Software Readme and click Open.
    5. When the Update Firmware window appears, click Begin Update.

    Configure Static Data Viewer

    After installing the Static Test Software, you must configure NI Web Server, SystemLink, and the Annotation for Static Data Viewer FlexLogger plugin to add support for the Static Data Viewer.

    Complete the tasks in the following sections to configure NI Web Server security and authentication, SystemLink user roles and privileges, and FlexLogger annotation.

    Configuring NI Web Server

    1. Launch NI Web Server Configuration from the Start menu. If this is your first time launching NI Web Server Configuration, a guided setup window appears. Click Custom to access the configuration options described in the following steps.
    2. On the Remote tab, select the following settings:
      1. Under Remote Connections, select Allow remote connections from any client.
      1. Under Cross-Origin Resource Sharing (CORS) Settings, select Disable CORS and block access from external content.
    3. On the HTTPS tab, choose whether to use a certificate from a certification authority, a self-signed certificate, or no certificate. Refer to Choosing an HTTPS Setting in the NI Web Server Manual for more information about each setting.
      spd-note-note
      Note  

      The Static Data Viewer has been validated with HTTP, and HTTPS with a self-signed certificate in Google Chrome.

      To use HTTPS, you must obtain a certificate. For options on obtaining a certificate, refer to the Certificates section in Security in NI Web Technology. The certificate must be installed on NI Web Server. For self-signed certificates and some IT-signed certificates, clients must also import the certificate to their device as part of a browser-specific process for trusting the certificate.

      spd-note-tip
      Tip  

      To import a self-signed certificate to a client device using Google Chrome, open the browser settings and navigate to Manage Certificates. Import the self-signed certificate to Trusted Root Certification Authorities.

    4. On the Authentication tab, select the following settings to specify how you want users to connect to the server.
      1. Select Log in as users controlled by the web server and set a password to create an admin account that is controlled by the NI Web Server.
        spd-note-note
        Note  

        You can assign administrator privileges to additional accounts in SystemLink. Refer to Configuring SystemLink User Roles and Privileges for more information.

      2. To configure settings for remote client access, refer to Choosing an Authentication Setting in the NI Web Server Manual and the SystemLink Operations Handbook.
    5. On the Applications tab, expand Static Data Viewer and select users next to Allows viewing the resource.
    6. Click Apply and restart to save changes and restart the PC.
    7. After restarting, launch NI Web Server Configuration.
    8. On the Control tab, verify that the NI Web Server is running and enabled. If the NI Web Server is not running, select Enable the web server, Start, and Apply and restart on the Control tab.

    Configuring SystemLink User Roles and Privileges

    To use the Static Data Viewer, all users must have required SystemLink privileges. Complete the following steps to register users, define user roles, and assign privileges.

    spd-note-note
    Note  

    Only admins have access to make the following changes in SystemLink.

    1. Launch the NI SystemLink Web Application from the Start menu. When logging in for the first time, use the admin credentials that you created in Configuring NI Web Server.
      spd-note-tip
      Tip  

      You can also launch the application from the NI Web Server Configuration application by opening the Summary tab and clicking the Running Server URI link. This URL is referred to as the SystemLink URL.

    2. Click to open the SystemLink navigator.
    3. In Access Control»Roles tab, create a new role to define an analyst using the Static Data Viewer and specify the minimum required privileges for each feature listed in the following table. Refer to Configuring a Role and Privileges in the SystemLink Manual for more information about creating new user roles.
      Applications and Services Privileges
      Alarms and Notifications
      • Enable the following Privileges:
        • Acknowledge alarms
        • Create tag alarm rules
        • Delete alarms
        • Delete tag alarm rules
        • List and view alarms
        • View details for strategies, groups, and email templates
        • Read tag alarm rules
        • Set and clear alarms
        • Modify tag alarm rules
      Messages
      • Set Privilege Specificity to *
      • Enable the following Privileges:
        • Allow all privileges
      Tags
      • Set Privilege Specificity to *
      • Enable the following Privileges:
        • List tags and view tag value, history, properties, and keywords
      spd-note-note
      Note  

      It may take up to five minutes for privilege changes to take effect.

    Registering Users in SystemLink

    To enable client access to the Static Data Viewer, all clients must log in to SystemLink for the first time to register their user accounts and admins must assign the user accounts to the Default workspace.

    spd-note-note
    Note  

    The admin must send the SystemLink URL to all clients before completing the following steps.

    1. All clients must complete the following steps.
      1. Ensure that the client is either on the same network as the NI Web Server or a VPN.
      2. Open a web browser and enter the SystemLink URL provided by the admin.
      3. On the SystemLink login page, enter your Windows credentials associated with your organization.
      4. Notify the admin after successfully logging in.
    2. Admins must complete the following steps.
      1. Launch the SystemLink Web Application.
      2. In Access Control»Users, verify that the client accounts appear as expected.
      3. In Access Control»Workspaces, assign users and roles to the Default workspace. Static Data Viewer is compatible only with the Default workspace. Assign analyst accounts to the role created in Configuring SystemLink User Roles and Privileges. Refer to Assigning Users to Roles in a Workspace in the SystemLink Manual for more information.
      spd-note-note
      Note  

      To assign the admin role to additional accounts, refer to Configuring a Role and Privileges in the SystemLink Manual.

    To verify client access to the Static Data Viewer, log in to SystemLink and click the Static Data Viewer.
    spd-note-tip
    Tip  

    Bookmark the SystemLink URL in your web browser for easy access.

    Configuring SystemLink Tag Ingestion for High-Channel-Count Applications

    1. Navigate to C:\ProgramData\National Instruments\Skyline\Config and open TagIngestion.json.
    2. Add a key value pair "Throttling.ValuesPerSecond" : 5000.
    3. Save the file.
    4. Restart the host PC.

    Configuring FlexLogger for Static Data Viewer

    Complete the following steps to configure FlexLogger for use with the Static Data Viewer.

    1. Open your test project in FlexLogger.
    2. On the Channel Specification toolbar, select Add channel»Plugin and select Annotation for Static Data Viewer.
    3. Click the Configure gear on the top right corner of the plugin header to open the plugin parameters configuration dialog.
    4. Set SystemLink Server URL to the Running Server URI located at NI Web Server»Summary.
    5. Set SystemLink Username and SystemLink Password to any credentials that have full privileges for SystemLink Messages.
    6. Configure the FlexLogger project to publish channel data to SystemLink tags.
      1. In your configured FlexLogger project, go to Project»Settings and check the Publish channels as local tags checkbox.
      2. Restart FlexLogger.

    Recently Viewed Topics