|
Advanced EEG Analysis
- Corticography/Topographic Analysis
- Universal EEG Review
- ICU and EMU Long Term Monitoring
- Spike and Seizure Detection
- Reporting
Application Notes Index
MagicMarker
Internet Setup Guide
Your facility's Information Services department may already have the hardware, security, and network resources needed for MagicMarker remote monitoring, because the Web-content created is not proprietary in any way. Still, when adding new services to an existing network, or when determining if new resources are needed, it is always nice to be able to try out the "real thing" before jumping in.
The Persyst CD-ROM lets you do just that: It provides a fully-functional version of the full EEG Suite with MagicMarker (in the familiar 30-day trial mode), and MagicMarker content ready for loading onto any Web server. This will enable you to try out every aspect of MagicMarker risk free. If you have any questions, or if you would like to receive a CD-ROM for testing, send your request to support@eeg-persyst.com or call us at (928) 708-0705 from 9:00 to 5:00 (Arizona time).
This document is intended for IS professionals or EEG system integrators who will be setting up a MagicMarker web site. This information is not contained in the MagicMarker User's Guide because it will be updated frequently with new hints and tools. (See our web site at www.eeg-persyst.com for the latest update.)
|
Reference Quick Links:
|
We outline three scenarios for your web site setup. They range in complexity from a simple network connection to automatic file uploads to a commercial ISP. With extra complexity comes the ability to view the MagicMarker web site from more remote locations.
NOTE: You may wish to print out this document for easy reference.
 Scenario 1: Network Connection
Configuration 1
This is the most basic scenario for viewing MagicMarker data from a second PC, and is the basis for the other scenarios that follow. (Note that some manufacturer’s systems will be able to run MagicMarker without requiring the use of Insight.
MagicMarker can run on an acquisition system, and the data viewed from a second PC over a network connection. The MagicMarker Web content can remain on the acquisition system, or you may have it written to a network drive (e.g., the second computer) automatically. Since only the MagicMarker Web content is sent over the network this option uses less network bandwidth than configuration 2.
Configuration 1
Configuration 2
MagicMarker can run on a PC with a network connection to the acquisition system. The file is opened over the network using Insight, then MagicMarker is started to perform the analysis. This uses more bandwidth than the first configuration, since MagicMarker is accessing the entire digital EEG data stream over the network.
Configuration 2
Configuration 3
This is the same as configuration 1 with additional acquisition systems. The acquisition systems are running MagicMarker, and the data is being viewed from a second PC. Again, this uses the least bandwidth since only the MagicMarker Web data is moving over the network.
Configuration 3
Important: Since the MagicMarker panels and EEG trace images contain patient information, you should consider the use of password protected access to the data using the security features available with your network operating system. The security measures you use will depend on your network configuration and policies.
 Scenario 2: Intranet
This is similar to scenario 1, except that the computer receiving the MagicMarker Web content is also running Web server software. This allows other computers on the network to view the instrument panels and EEG traces using an Internet browser.
Important: Since the MagicMarker panels and EEG trace images contain patient information, you must configure password-protected access to the data using the security features available with your network operating system and Web server software.
Configuration 4
Here the PC receiving the MagicMarker Web content is also running Web server software, e.g., Personal Web Server that is supplied with Microsoft Front Page. This is an example of an intranet where the data is only available on your local area network. Note that Personal Web Server must be used with Windows NT to set up a password-protected intranet Web site.
Configuration 4
Configuration 5
Here the PC receiving the MagicMarker Web content is a Web server connected to the Internet. This configuration will allow you to view your MagicMarker panels from anywhere.
Configuration 5
 Scenario 3: Commercial Web Hosting Provider
If you want to have your MagicMarker panels available for viewing from anywhere, and it is not possible to set up a Web server with a connection to the Internet, you can upload your MagicMarker Web to a commercial Web Hosting Provider (WHP). This may be done with a modem or over your facilities network if they have a connection to the Internet.
This scenario is more complex than the previous scenarios because it involves the configuration and use of programs to upload new (and delete old) MagicMarker data from the Web Hosting Provider’s server.
Important: Since the MagicMarker panels and EEG trace images contain patient information, you must set up restricted access (e.g., password-protection) for your Web site.
The two configurations that follow are similar to configurations 1 and 2, with the addition of a means to upload the MagicMarker Web content to the Web Hosting Provider. This requires:
- A modem or network connection to the Internet.
- An Internet Service Provider (ISP) for Internet access.
- A Web Hosting Provider (or ISP) to provide Web site space for your MagicMarker data.
- Software to automate the upload process, and to delete old data from your Web site.
The Web Hosting Provider should be able to provide the ability to password-protect your MagicMarker Web site. Also, you will need to set up your account with sufficient space for your data, about 100 Mbytes per patient/per day.
You will need to delete old data from the Web server regularly to make room for new data, or you will run out of storage space. If this happens, you will not be able to upload new data until the old data is deleted. You may need to consider additional storage if you will not be deleting old data during weekends.
Configuration 6
Here the PC receiving the MagicMarker Web content is configured with a network or modem connection to the Internet, and is configured to upload the MagicMarker data to the Web Hosting Provider at timed intervals.
Configuration 6
Configuration 7
It is also possible to configure the acquisition instrument to upload the MagicMarker data to the Web Hosting Provider directly.
Configuration 7
 MagicMarker Web Site Operation with a Web Hosting Provider
How will your MagicMarker Web site work when you choose to use a Web Hosting Provider? A typical sequence of events will be:
- Start acquiring EEG.
- Launch MagicMarker and choose the recording to be monitored.
- Launch the program that will automatically upload the MagicMarker data to your Web site.
- On a regular basis, launch the program to clear old data from your Web site (this can be automated as well). The interval will depend on the number of days of storage you provide.
- When you are finished monitoring, launch the program that clears old data from your Web site
 Viewing MagicMarker Panels Over the Internet
A home page for your MagicMarker site will make it easier to access different patients remotely. The following is an example of a very basic MagicMarker home page, along with the HTML code for it. Of course, you can add whatever aesthetic features and options you wish e.g., background images, frames for keeping the bed list visible during review of panels, etc. We will be adding examples with HTML code for optional home page layouts on our Web site for those who are interested in additional home page features.
To create a MagicMarker Home Page at your Web site, copy the code into a text editor (Notepad or Wordpad) and name the file according to your Web server’s convention for home pages (either default.htm or index.htm). Then, upload the file to the directory given for your Web site’s home page with WS_FTP LE.
HTML code for MagicMarker Home Page:
By having a MagicMarker home page, you will only need to enter the address for your Web site, then select the bed you wish to view.
Important: Remember that the patient information on your MagicMarker Web site needs to be password-protected. You may choose to have the password required immediately when accessing your home page, or you may have the directory where each bed's data is stored password-protected. Check with your Web server administrator on which method will work best with the type of server they are using.
 Setting up a MagicMarker Web Site using a Web Hosting Provider
Overview
Web hosting services are widely available and can be purchased from your Internet Service Provider (ISP), or from a commercial Web Hosting Provider. Whomever you purchase your web hosting services from, you should keep in mind the following:
- You will need approximately 100 Mbyte of storage per patient day.
- You will need to have a means of setting up password protection for access to the MagicMarker data.
You will also need:
- A connection to the Internet: A dial-up account if you are using a modem, or one provided by your IS department if you are using your facility’s network to connect to the Internet.
- A manual FTP program for setting up your MagicMarker Web site. We recommend and provide instructions for using WS_FTP LE from Ipswitch (http://www.ipswitch.com).
- An automatic FTP program for uploading new data and deleting old data. We recommend and provide instructions for using Intelligent FTP Client (iFTP) from Santronics (http://www.santronics.com).

Web Site Preparation with WS_FTP LE
WS_FTP LE is a manual FTP program used to create the folder on your Web site that will receive your MagicMarker data. It is also used to display the directory path used by the Web server. The directory path displayed by WS_FTP will be used to configure the automatic FTP program (iFTP).
WS_FTP LE can be downloaded from the Ipswitch Web site at http://www.ipswitch.com.
The opening screen for WS_FTP is the Session Properties dialog. Select New to create a new session with the information provided by your Web Hosting Provider.
Here is an example that shows what a Web hosting account for Bill Shakespeare might look like with WS_FTP:
Host address (the Internet address for the Web Server): yourISP.com
User ID (the user ID given to you by your ISP): Pbshak
Password (this will normally appear as "****": hamlet15
After establishing a connection to the Internet, clicking OK will connect you to your Web site.
The Remote System box displays the directory path that is being reported to you by the Web Server. Note the directory named public_html. This is where all of the web pages and graphics are placed. The other files in the Remote System directory are login/password files etc. Do not delete any of these files!
Note: Some Web Servers will use a different name for the directory where Web pages are stored (e.g., /www). Check with your Web Hosting Provider for which convention they use.
Double-click on the public_html directory folder and use the MkDir button to create a folder titled mm.
Important: This is the folder where your MagicMarker data will be sent. Have the Web Hosting Provider make this folder password-protected so that it can only be accessed with a user-name and password. Do not use the same password used to upload/delete files from your Web site!
Note that the Web server directory path displayed under Remote System has changed. This is the directory path used by the Web server. In this example the directory path is: usr/var/http/B/Pbshak/mm/. Write down your directory path—you will need it to configure the automatic FTP program.
MagicMarker stores the content for the Web on your hard drive in a folder called \Web, with sub-folders for 10 beds: \Web\Bed1, \Web\Bed2, etc. When the data is uploaded to the Web server it will appear in the same sub-folders (\Bed1, \Bed2, etc.). This will let you view your patients remotely by bed number.
 Automatic MagicMarker Upload Using iFTPa
Intelligent FTP Client (iFTP) is an automatic FTP program used to upload MagicMarker data to your Web site at timed intervals. It is also used to delete old MagicMarker data regularly to make room for new data.
iFTP can be downloaded from Santronics at http://www.santronics.com.
Installing iFTP:
- Create a folder on your hard drive for the program (e.g., C:\IFTP) and download the compressed file (currently iftp21.zip) to this folder.
- Decompress the file in the same folder. This is the location you will be running the iFTP program from, as well as creating scripts and editing the iFTP setup files.
- You will need to obtain a free 30-day trial code from Santronics to run iFTP. If you purchase the program you will be given a permanent unlock code.
- Documentation on all the features of iFTP are included in a text file with the program called "iftpcode.txt". You can use this documentation to create your own specialized scripts or adapt the ones provided here.
 Creating iFTP Scripts
Automatic Upload
Intelligent FTP Client uses a script to automatically upload files to your Web Server via modem connection. The scripts are simply text files that have the step-by-step instructions for iFTP to follow. The following is a sample script for uploading files. The lines that are preceded by a semi-colon are comment lines.
Note: The scripts listed here can be downloaded from our Web site at http://www.eeg-persyst.com and edited on your PC.
To create this script:
- Use WordPad (Start | Programs | Accessories | WordPad).
- Type in the script as it appears below.
- Save it as a text file called "Magic.ftp" in the same folder (e.g., C:\IFTP) as the iFTP program.
The Magic.ftp script, with the entries you will be editing in boldface type:
:----------------------------------------------------------------
: Magic.ftp
: iFTP script using the MOVE command to upload files
:----------------------------------------------------------------
LABEL restart
Dial yourISP
; If dialing is unsuccessful, try again in 30 seconds
if not success then goto rdial
async on
open DefaultHost
if not success then goto scan
; Upload local files in current directory, delete local file
; after each successful upload
progress on
move C:\Web\*.* /usr/var/http/B/Pbshak/mm/
; If there is nothing in the Web directory, try again in 20
minutes
if not success then goto scan
Hangup
Delay 10 minutes
goto restart
exit
:----------------------------------------------------------------
LABEL scan
Hangup
Delay 20 minutes
goto restart
LABEL rdial
Hangup
Delay 30 seconds
goto restart
The Magic.ftp script will direct the iFTP program to upload new MagicMarker Panels to your Web Server every 10 minutes. If there is a busy signal at the ISP, it will try again in 30 seconds. If there are no files to upload, it will check for new files in 20 minutes. These times can be adjusted by changing the values used.
Editing the Magic.ftp Script
Before you can use the Magic.ftp script you will need to change the text in bold to match your settings.
The "Dial yourISP" entry tells iFTP which Internet dial-up connection to use. Change the text "yourISP" to match the label used for your Internet dial-up. This is listed under My Computer | Dial-Up Networking.
Next, change the directory path listed in bold text to match the directory path for your Web site as shown by WS_FTP LE. If your local MagicMarker directory is different from the default, e.g., C:\Web, you will need to change that as well.
move C:\Web\*.* /usr/var/http/B/Pbshak/mm/
Notice that directories (folders) on the local hard disk are indicated with a backslash ( \ ), and the remote ones are indicated with a forward slash ( / ). This is an easy way to differentiate between local (hard disk) and remote (Web Server) directories.
When using the "move" command, files are deleted from the local directory after they are successfully uploaded to the Web Server. This will eliminate the re-sending of files that have already been uploaded.
Editing the iftp.ini File
The contents of the iftp.ini file tells iFTP the specifics about your dial-up Internet access and the address for your Web site. There are only two items that need to be edited for dial-up access.
To edit the file, go to Windows Explorer and open the folder where the iFTP program is located (e.g.,C:\IFTP), then double-click on the file called iftp.ini.
First, edit the ISP information. It will normally match the information entered in your Dial-Up Networking (the phone number, user name, and password you use to access the Internet). This information is provided by your ISP. Page down until you see the paragraph titled [PPP]. Here's an example of what might be entered:
[PPP]
Entry=Primenet
UserName=Pbshak
Password=hamlet15
Next, enter the information for your Web Server's address, user name, and password for uploading files (this information is provided by your Web Hosting Provider). Page down to the paragraph titled [DefaultHost] . Here's an example of what might be entered:
[DefaultHost]
Host= your_Host.com
UserId=abcdef
Password=ghijkl
EmailAddress=
 Creating a Shortcut on the Windows Desktop to Start Automatic File Upload
Once you've edited your iftp.ini file and created your Magic.ftp script, create a small batch file that you can use to launch the program from your desktop.
- Open WordPad (Start, Programs, Accessories, WordPad).
- Type in the script as it appears below.
- Save it as a text file called mm_ftp.bat in the same folder the iFTP program is located.
Sample batch file to start Magic.ftp
@echo off
iFTP /run Magic.ftp
To make a shortcut on your Windows 95 (or NT) desktop:
- Right-click on the Windows desktop and select New | Shortcut.
- Click the Browse button to locate your file called "mm_ftp.bat". In this case, it will be in the "IFTP" folder.
- Double-click on the file called "mm_ftp.bat". If the path in the Command Line box that appears next is correct, click the Next button.
- Choose a name for the shortcut (e.g., MM Upload).
- Choose an icon for your new shortcut.
- Double-click on the icon to start the automatic upload process.
The iFTP program status will appear in a command-line window on your screen. You may minimize or leave it on-screen as you wish.
To exit the program and stop the automatic upload, simply close the command-line window, however, do not close the program while it is dialing/connecting or the phone line may not be hung up properly. Under Windows95/98 you may receive a warning regarding program closure, if so, you can ignore it (this message will not appear under Windows NT).
 Automatically Deleting Old Data
The following script is used to delete old MagicMarker data regularly to make room for new data on the Web server. You will want to delete old data for each bed individually, so you will need to create a script for each bed you will be monitoring, e.g., del_mm#1.ftp, del_mm#2.ftp, etc.
The Remote System directory will be the same one used for the Magic.ftp script, with the addition of the directory for the bed number you wish to delete. If the Remote System directory is /usr/var/http/B/Pbshak/mm/, then the bed 1 directory will be /usr/var/http/B/Pbshak/mm/Bed1
You will also need to create a shortcut on your desktop for each of the iFTP scripts; one for each bed. For the script is called "del_mm#1.ftp", then you would name the batch file "del_mm#1.bat", and so on. Replace the text in boldface type with your text.
When your are finished, each bed you are monitoring over the Web will have a separate shortcut (icon) for deleting that bed's data from the Web server. The script, batch file, and shortcut for each bed will be identical except for the bed numbers.
Sample script for del_mm#1.ftp
:----------------------------------------------------------------
: del_mm#1.ftp
: iFTP script to delete MagicMarker files from the Web Server bed 1
:----------------------------------------------------------------
LABEL restart
Dial yourISP
; If dialing is unsuccessful, try again in 30 seconds
if not success then goto rdial
async on
open DefaultHost
; Delete all MagicMarker files in remote directory
progress on
erase ftp:/usr/var/http/B/Pbshak/mm/bed1/*.*
Hangup
exit
:----------------------------------------------------------------
LABEL rdial
Hangup
Delay 30 seconds
goto restart
Sample batch file to start del_mm#1.ftp
@echo off
iFTP /run del_mm#1.ftp
Important: To minimize the chance of inadvertently running the "del_mm#X.bat" file, we strongly recommend that you place the shortcuts in a folder-- thus requiring two separate actions to access them.
 Secure Site Setup with Microsoft Front Page
Information regarding the use of Microsoft Front Page is provided for MagicMarker users who are familiar with Web publishing, and is intended only as guidance for those who are familiar with Microsoft Front Page.
Microsoft Front Page users who use a Web Server that supports Front Page Server Extensions (internally or with a Web Hosting Provider) can use the security features of Front Page to create a password-protected area of their site for MagicMarker data.
Microsoft refers to these "sub-webs" as "secure webs". These can be set up by the user for restricted access, requiring both a user name and password for browser access.
MagicMarker can be used with Web sites that are created using Microsoft Front Page, however, the MagicMarker files should be uploaded to an empty folder within the password-protected sub-web. This folder should not have any Front Page content placed within it, as Microsoft Front Page uses a proprietary client-side image map convention that will conflict with the standard one used by MagicMarker.
 Download Links for WS_FTP and iFTP
For manual file upload and download, we recommend a program called WS_FTP LE (Limited Edition). There is also a program called WS_FTP Pro, but aside from having many more features than are needed, it is also more expensive.
For automatic file upload, we recommend a program called Intelligent FTP Client (iFTP). Intelligent FTP Client is a program that is designed to run scripts that are written to automate the file upload process.

|