MSI - Wiki

  • Increase font size
  • Default font size
  • Decrease font size

How To Setup an MLogger to work with an FID

E-mail Print PDF

This is the procedure for setting up an FID with an MLogger:

  1. Connect the MLogger to a computer like normal
  2. Connect the FID to the same Computer, using a USB cable from the Lawson box.
  3. Install Integrator version 3.25.7 and SQL Express 08 software on the SAME computer.

  4. Install the correct version of the Integrator software on the SAME computer - JOHN: What version do you call this, and where does one get it?
  5. Create ssh keys and put the public key on the MLogger so that the python script can call pscp and copy the file without having to enter a password every time. (Do NOT copy the Python script in ASCII mode, as this will insert line breaks.) 
    1. Puttygen.exe generates the keys. It can be downloaded and installed from this site: .  Be sure to download and install putty-0.62-installer.exe from the site for Windows, which includes both puttygen.exe and pscp.exe.   You may have to correct a bunch of permissions on the MLogger filesystem because sshd is paranoid about permissions of files & directories. Ensure that the Public key is saved as id_rsa_mlogger.ppk and is saved in the HOMEPATH directory (usually C:\Users\{username}\)
    2. The private SSH key generated by puttygen.exe should be appended to /usr/apps/.ssh/authorized_keys2 file on the MLogger.
  6. You also need pscp.exe to be in the same directory where you are going to put the python script.
  7. Verify that pscp.exe can copy files to the MLogger without a password by trying it.
  8. Put the Python script on the computer in your homepath directory C:\Users\{username} --> This file is located in the G:\Carl\ folder.
  9. Open the in a text editor and change all references of MSI_Research to the correct user homepath. (If you want to run the script on user MyLogger, for example, change all references of MSI_Research to MyLogger).  Also make the the ssh file in the Python script matches the Public key SSH file name on the local C: drive.
  10. Install Python 2.7.3 on the computer (
  11. Create a task to run the fidTransferv2.pyscript on startup
    1.  Windows Vista / Windows 7
      1. Click the start menu and search for "Task Scheduler"
      2. Click the Action menu and click the Create Task... option.
      3. Give your task a descriptive name (i.e. MSI HSGC Transfer)
      4. Select the option "Run whether user is logged on or not"
      5. Select the Triggers tab
      6. Create a new Trigger and set the "Begin the Task" dropdown option to "At startup" and hit OK
      7. Select the Actions tab
      8. Create a new action with the script field filled out with C:\Python27\pythonw.exe and the Add arguments (Optional) field set to the location of the script (i.e. C:\Users\MSI_Research\
      9. Select the Settings tab and uncheck the box for "Stop the task if it runs longer than:"
      10. Click OK
      11. Restart the computer to begin running the task.
    2. Windows XP
      1. Click Start, click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.

      2. Double-click Add Scheduled Task to start the Scheduled Task Wizard, and then click Next in the first dialog box.

      3. Click browse and locate C:\Python27\pythonw.exe and double click and procede to the next screen.

      4. Select the option When my computer starts.
      5. Enter the username and password information then procede.
      6. Click the box to open the advanced dialogue and then click finish.
      7. Add the location of the file to the Run dialogue box (so it should read similar to "C:\Python27\pythonw.exe C:\Users\MSI_Research\")
      8. Go to the Settings tab and uncheck the box to turn the task off after 72 hours.
      9. Click OK then restart the computer to begin running the script.

This is very much an ad-hoc way of doing things, and if we have more than 5 of these go out, we need to merge 2.9.4500 back into the main trunk, and bundle the Integrator, Service Installer, Python Script. MLogger version 2.9.7003 now HAS the HSGC code built into it.  Make sure to set the "Hardware Mode" in the m-logger.ini file to 2 (HSPEED) and set the "High Speed Gas Calibration Mode to 2 (NORMALIZED), which is what Geolog uses.


Last Updated on Wednesday, 14 November 2012 23:08