Q.station Data Logger Guide (test.commander)

How to configure a Q.station Data Logger with test.commander

Purpose


This document thoroughly explains how to configure and utilize the logging capabilities of a Q.station (DIN rail mount or Q.brixx version). For non-Q.station controllers (e.g. Q.pac, Q.gate) go to Logger Wizard section.


Items Required

  • Q.station with adequate power supply (Q.brixx-station is supplied with an AC to DC
    power adapter)
  • PC with a licensed version of test.commander installed
  • Ethernet cable


Procedure

  1. Assemble hardware (Q.station + measurement modules).

  2. Power on hardware and connect the Ethernet cable between the PC and Q.station.

  3. Start test.commander. Create a new project.

  4. In the empty project, right-click on the mouse and select Add Online Controllers.


  5. All controllers on the same network will be displayed, highlight the controller to connect
    to and click OK.


  6. When the controller is successfully added to the project, the following window will
    appear:


  7. The Q.station and attached measurement modules will be displayed in the project work
    space:


  8. Configure the channels (type, scaling, etc): real and virtual channels.

  9. Adjust the number of desired buffers/sample rates: Double-click on the Q.station,
    Sample Rate > Count. By default, there is 1 x buffer used (maximum: 4).


  10. Modify each buffer:
    1. Customize the name of each buffer.
    2. Modify the sampling frequency (buffer #1 must have the highest sample
      frequency).
    3. Modify the buffer size (the combined buffer size for all buffers can be a max of
      200 MB).
    4. Buffers 2-4 can be synchronized internally (use internal clock) or externally (digital
      input on Q.station).
    Click OK to apply settings.


  11. In the main project space, assign which channels (real and virtual) belong to a certain
    buffer. You should only use one buffer rate per UART (it is always possible to have
    multiple logging rates use a single buffer). This is performed using the Sample Rate
    column:


  12. Highlight the Q.station and click on the Logger Configuration button.


  13. The Logger Configuration window will appear.

  14. It is possible to add or delete a logger:

    A maximum of (20) loggers can be created in a single Q.station.

  15. For each logger, select the data source, logger type, logger name, and logger status:

    1. Data Source: select the buffer where the channels to save are located. Select
      one of the configured buffers.
    2. Logger Type: select between continuous, triggered, or event-based.
    3. Logger Name: provide a name for each logger. The data files will include this
      name in the file.
    4. Logger Status: activated or deactivated.

  16. Select the channels to save within the logger. Only channels within the selected buffer
    can be saved within that logger.


  17. Other arithmetic channels can be added to any of the available variables. Right-click on
    the variable and select the type of arithmetic channel to add.
    1. Empty arithmetic
    2. Statistical data
    3. Minimum, maximum, average, and standard deviation

  18. Double-click on the new virtual variable to modify its equation.
  19. The logger type will determine the available triggering options


Logger Type: Continuous


With this type, it is possible to select the logging rate of the logger and the size of a single file.


The logging rate can be set in seconds or Hz:


The size of a single file can be set in seconds, data sets, or bytes:


Logger Type: Triggered

With this type, it is possible to select the logging rate. It is also possible to assign start and stop trigger conditions; the channel(s) must be selected within the same buffer. Pre and/or post-trigger data can also be added.

The logging rate can be set in seconds or Hz. The size of a single file can be set in seconds, data sets, or bytes; additionally, the pre and/or post-trigger data can be set in either seconds or data sets.

The possible condition arguments:

  • < : less than
  • <= : less than or equal to
  • > : greater than
  • >= : greater than or equal to
  • == : equal
  • != : not equal


Logger Type: Event-based

With this logging type, it is possible to start logging based on an event. A pre-trigger is optional, while the event length can be specified in seconds, data sets, and bytes. The number of events specifies the size of a single file.


Data Storage

For all 3 logger types, the storage type can be chosen:


Default: automatic drive selection.


For more information regarding the other options, see section 7.3.3.5 in the Q.station
manual. This option determines how and in what sequence writing occurs to the
destinations.

  1. The destination for each logger can be chosen next as either the internal memory of the Q.station, SD card, or USB port. The internal memory has a 100Hz logging rate limit.



  2. It is possible to send data to the following destinations: a network drive, an FTP server,
    or via E-mail. How to configure these destinations is explained in separate guides that
    can be found on the Gantner Instruments website:
    https://www.gantner-instruments.com/us/support/support-tools/library-of-tools/


  3. Make sure to save the settings in the Logger Configuration window by clicking the OK
    button.

  4. Since a lot of changes have been made to the project settings and logging settings, these need to be updated in the controller. Notice a red star appears next to the Q.station. Click on the Write Project (Update) button to perform the update.


  5. After the update, the Q.station starts logging immediately (if continuous is
    selected) or waits for the trigger conditions to occur. Files in the storage destination (i.e.
    USB drive, SD card, etc.) are saved as .dat files and can be opened using test.viewer.



  6. Multiple data files can be appended together using test.viewer: File > Append File

  7. Single or appended files can be saved into other formats: File > Save As

Logger Wizard (non Q.station controllers)

  1. Setup all desired channels in test.commander. In this example, I have 1 x TC type E
    configured on an A104 module.
  2. Set up the desired sync rate of the Gantner system. Double-click on the controller
    (Q.gate IP), selecting settings, synchronization, sync sample frequency
  3. Setup logging wizard:
    1. Right-click on controller
    2. Select Logger wizard
    3. Select which buffer to log
    4. Select the location to save data: USB
    5. Select logging mode: continuous
  4. Save the project to the controller.
  5. Click on read online values from the controller.
  6. Click on Set RTC: use local PC time, and click on synchronize.
  7. Data is now being logged to the USB with time-stamped synchronized to your PC’s clock.
  8. Remove the USB from the controller and attach it to PC to collect data.
  9. Run test.viewer on PC
    1. Click on file
    2. Append file
    3. Select all files except the first file
    4. Click on Open
    5. Data from multiple files are combined on the screen

  10. Click on Settings, ASCII save options. Make sure milliseconds are checked and make sure Date & Time is checked. Click OK.
  11. Click on File, Save As, and choose the desired format.
  12. Notice that the time resolution is saved in milliseconds: