PSN-L Email List Message

Subject: WinSDR and Event File Mailer part two
From: "Larry Cochrane" cochrane@..............
Date: Sun, 12 May 2002 22:41:50 -0700


Hi Again,

Here's part two of my two part message documenting my new Event File Mailer
(EFM) program. Documented in this email message is what's new in WinSDR and
how to use EFM.

Besides support for the EFM program the only other thing new with WinSDR is
the ability to download the firmware to the Serial Output A/D board directly
from within WinSDR. This eliminates the need for the RFU program supplied by
the manufacturer of the CPU module on the A/D board. See the WinSDR
documentation for more information. The firmware on the A/D board is still
version 1.8 and SDR Server remains at version 1.6.

To use the EFM program with WinSDR you need to specify a directory on either
the WinSDR system or a system on your LAN. In the System Settings dialog box
you will see the "Request Control File" display field. Use the browse button
next to this field to locate or create a directory that can be accessed by
both WinSDR and EFM. This directory should be used for just ELM and WinSDR
request feature. If you use the Replay feature in WinQuake, WinQuake will
also use this directory. The directory should not contain any files and the
directory name MUST NOT have a space in it. Example, don't use a directory
like C:\Program Files\Request\.

You can download WinSDR version 2.0.5 here
http://www.seismicnet.com/winsdr/. You must use the new WinSDR version with
EFM.

That's it for WinSDR. Now for the Event File Mailer. You can download the
install program using this link
http://www.seismicnet.com/software/efm10.exe. EFM can be installed on the
same system running WinSDR or another system located on your LAN. If you
install the program on another system, you will need to setup file sharing
between the two systems. EFM and WinSDR will use two directories. One is
used for the request file, see WinSDR docs for more info, and the other will
be used to hold the event files produced by WinSDR and converted to an email
message by EFM. Once the email message gets sent out, the event file(s) will
be deleted from the directory.

So that people can create event files using WinQuake, you will need a
dedicated email account for ELM. This email address will be used by WinQuake
to send the request too, and ELM will check this email POP account for new
request files sent out by WinQuake users. When setting up ELM - DO NOT! use
your normal email address. ELM will read all messages sent to the email
address. The messages sent to ELM are not saved and they will be DELETED
from the mail server after ELM checks for event or station request keywords.

There are several ways you can get an email account for ELM. Your ISP may
allow you to have more then one email address or you can use one of the free
email account services available on the Internet. The email address must be
accessible using POP. I believe that both Hotmail and Yahoo no longer give
out free POP account email address. For my testing I used www.MyRealBox.com.
It's very easy to setup an account and it's free.

Once you have an email account you can startup EFM. In the POP Account group
box enter the POP server domain name, example pop.myrealbox.com, the user
name and password. Next enter a number in the Check Every edit box. This is
the time interval EFM will check the mail box. The default is every 2
minutes. The Enable check box will become enabled once you enter all of the
information needed by EFM and save the data to the eventreq.ini file.

EFM can currently handle two WinSDR systems allowing it to request event
files for up to 16 channels. In the WinSDR Directories use the browse button
next to the First System Directory to locate the root directory of the first
WinSDR system. ELM uses this to read the WinSDR.ini file when it first
starts up or if you press the Update button. Next locate the directory that
will be used for the Request File directory. If EFM is running on the same
system, select the same directory that is in the "Request Control File"
display field in the System Settings dialog box of WinSDR. Remember, do not
use a directory that has a space in it! If you are running two WinSDR
systems enter the directories for the other system in the next two edit
boxes. The Update button should be used if you make any major changes to
WinSDR. Changes like changing the sample rate or number of channels to
record, require that you update the EFM program with the new information.
You should also press the Update button if you make any changes to the
location or sensor information fields in the WinSDR Channels Settings dialog
box.

Next enter your station name in the Station Name edit box. In the From User
Name and Email Address edit box enter a name and then the users SMTP account
email address in brackets like this <>. The email address must be known by
the SMTP server and it must be within brackets <>.
Example: Event Request . This information is used to
send out the email message and it will show up as the From: field of the
message.

In the WinSDR Temporary File Directory enter a directory accessible by
WinSDR that will be used to hold the event files produced by WinSDR. If EFM
is running on the same system as WinSDR you should leave the Temporary
WinSDR Map Drive blank. If EFM is running on another system, you will need
to place the mapped drive letter in this field. If WinSDR will be using a
directory like c:\temp\ to hold the files and if drive E on the EFM system
is mapped to the C drive on the WinSDR system, enter E in the Temporary
WinSDR Map Drive edit box.

Next open the SMTP Information dialog box by pressing the SMTP Info button.
In this dialog box enter the SMTP server name, and if the server requires
authentication, set the select box to Authentication and enter the Account
Name and Password. If you use MyRealBox.com's SMTP server you will need to
use authentication.

Once you have all of the information entered the Save button should be
enabled. Pressing this button will save the data in the INI file and enable
the Enable Check box in the POP Account Group. When you enable the pop
account EFM will start checking the email address for new email messages.
The Check Now button can be used to force EFM to check the POP account for
new messages.

The Statistics button opens a dialog box that displays some statistical
numbers like the number of files sent, number of bytes sent etc. When you
startup the program it will place a small icon on the system tray. You can
hide the program by double clicking on the icon in the system tray. Double
clicking again will reshow the window. The program will continue to run when
it is hidden.

The next thing to do is to use WinQuake to test your setup. See my last
email message and the WinQuake documentation on how to use the Remote Event
File Request feature in WinQuake. Once you get everything working please let
me know what the email address and the station name is so I can add it to
the station list file.

Regards,
Larry Cochrane
Redwood City, PSN


__________________________________________________________

Public Seismic Network Mailing List (PSN-L)


[ Top ] [ Back ] [ Home Page ]