How to send data logger files from a Q.station controller via email (GI.bench)

Procedure to configure a Q.station controller to send data files via email.

 

Email clients are always updating their security procedures. Always check with specific email client's settings and updates.

Q.station email configuration

  1. Open the Q.station in GI.bench.
  2. Double-click the Q.station to bring up the Controller Settings window, and navigate to the Email section.
  3. Configure the Email settings as needed.
     
    1. Server address: this defines the SMTP or mail server for outgoing emails (e.g. Gmail: smtp.gmail.com)
    2. Port: per email client (e.g. Gmail: 465 SSL)
    3. Username & Password: login credentials for the sender's email account
    4. Own email address: sender email address
    5. Own domain name: sender server domain (e.g. www.gmail.com)
    6. Email signature: Can be used to provide some detailed information e.g. on the location, the application, the test cell,… and it is equal to the signature of a standard e-mail (if defined).
    7. Email addresses: Recipient email address(es), up to 10 can be defined and 1 selected per logger
    8. Email subjects: Up to 10 different email subjects can be defined, 1 selected per logger
    9. Email bodies: Up to 10 email bodies can be defined, 1 selected per logger. The contents can use placeholders to provide additional information

      Placeholder

      Information

      [%LOC]

      Location

      [%UTY]

      UniqueType

      [%MID]

      ModuleID

      [%SNR]

      SerialNumber

      [%RTC]

      Date and Time

      [%APPN]

      ApplicationName

      [%APPV]

      ApplicationVersion

      [%IPA]

      IPAddress

      [%VARA<I><N><V>]

      AllVariables containing <I> = Index, <N> = Name, <V> = Value and unit

      [%VARS<I><N><V>index]

      SingleVariable with index: containing <I> = Index, <N> = Name, <V> = Value and unit

      [%VARI<I><N><V>index]

      SingleVariable with index evaluated from indexed variable: containing <I> = Index, <N> = Name, <V> = Value and unit

      [%TEXSindex]

      SingleText with index (from Indexed email body texts)

      [%TEXIindex]

      SingleText with index (from Indexed email body texts) evaluated from indexed variable

    10. Email bodies indexed: Here the indexed body of the e-mail has to be defined.

      Indexed bodies can be a part of several bodies and might contain information that is equal for some bodies. Therefore, an indexed body will be part of a body text.
  4. Connect the Q.station directly to the internet (via Ethernet port) or through a switch.

It might be necessary to modify the Q.station's network settings with DNS server settings

  1. Check the IPv4 DNS server settings using the PC
  2. Controller settings > Network
  3. Add the DNS address from Step 1

Q.station Logger Configuration

  1. Back in the GI.bench project window, right-click Logger > Add > Add Logger (or double-click existing logger).
  2. In the logger configuration window, select variables to log, logger type, and the main storage destination.
  3. In the Send e-mail section, check the Enabled box.
  4. Select the recipient's email address, subject, and email body.
  5. Click OK to write updates to the controller.
  6. The .dat file that is attached to the email can be opened in test.viewer or another software.

NOTE:

It might be essential that you´ll create an app password in your google acount (under security), which you need to use as a password in GI.bench settings.

You also need to activate 2-way authentication.

 email1

email4

email3