Data Logging to a PC or Network Attached Storage (NAS)

Guide on sending data from a Q.station or Q.monixx controller to a network attached storage location, such as a shared folder on a PC.

Establishing a shared folder on a PC

  1. Create the folder where the data files will be saved, for example, C:\Data.

  2. Right-click on the folder and select Properties. Click on the Sharing tab and choose Advanced Sharing...

  3. Enable Share this folder and click on Permissions at the bottom.

  4. Check Change in the Allow column.

  1. Click on OK, then OK, and Close to save the changes.
  2. Under the shared drive, create a new folder for the destination of the data files.
    In our example, create the folder "Data" under the C drive (C:\Data).

[For Windows 10 only] Enable SMB:

  1. Open the Windows control panel.
  2. Navigate to Programs > Programs and Features > Turn Windows features on or off.

  3. Check the box for SMB 1.0/CIFS File Sharing Support.

Set up the logger on the controller

  1. In GI.bench, the Read button loads your controller into the project configuration tree.

  2. Once the controller is loaded, double-click the controller in the tree to open the Controller settings dialog.

  3. Navigate to the Net drives tab and change the Count value to the number of net drives available (e.g., 1).

  4. Configure the settings for the network drive.

    Description: Assigns a reference name to identify this storage location.
    Address: Specifies the static IP address of the PC or NAS.
    Username: Identifies the login username for the PC or NAS.
    Password: Provides the password associated with the login account.
    Directory: Specifies the name of the folder within the shared directory.

    The preceeding slash (e.g. /share) is important

  5. Click OK to save the changes and close the Controller settings dialog.
  6. In the project tree, right-click on Data logging listed under the Q.station controller and select Add logger.

  7. Double-click the newly created logger to open the Data logger settings dialog.
  8. Navigate to the Storage tab and select the previously configured network drive from the Destination field.

  9. Change any remaining settings in the Storage tab and other tabs as needed. Click OK to save changes and close the Data logger settings dialog.
  10. When complete, save the changes to the controller by clicking the Write button in the toolbar.

  11. After the controller project has been updated, apply the trigger to start the logging process (the logger will begin logging automatically if the logger type is Continuous). The data files will now be saved into the shared folder on the PC or NAS.

Controller Setup - test.commander

Controller Settings

  1. Load the Q.station controller in a test.commander project.
  2. Double-click on the Q.station to open the settings menu.
  3. Navigate to Host interface > Network drives and change the Count from 0 to 1.
    Open Drive #1 and apply the settings:
    1. Name: Provide a reference name for the network drive.
    2. Username: The login username for the PC.
    3. Password: The password for the login account.
    4. Hostname: The static IP address of the PC.
    5. Remote-directory: The location of the shared folder
      1. Use a lowercase for the drive "c" and just a forward slash "/"
        e.g., C:\Data  =  "c/Data"
  4. Click OK to save the changes and close the controller settings dialog.

Logger Configuration

  1. Select the controller in the project tree, then click the Logger configuration button in the toolbar.
  2. The logger configuration dialog will appear. Apply the logging settings: select the channels to log, trigger conditions, logging rates, etc.
  3. Under the logging destinations, open the drop-down menu and select the configured network drive in the field.
  4. Click OK to save the settings and close the logger configuration dialog.
  5. Click the Write Project button in the toolbar to save the project to the controller.

Data Collection

  1. After the project has been written to the controller, apply the trigger to start the logging process. The logger will automatically begin logging if the logger Type is Continuous.
  2. The data files are saved to the configured network drive in the directory or subdirectory defined previously.