SCOPE: PC-based physiological monitoring system

This package includes the entire source code for the physiological monitor software as described in our article:
Ghose, G.M., Ohzawa, I., and Freeman, R.D. (1995) A flexible PC-based physiological monitor. J. Neurosci. Methods 62: 7-13.


IMPORTANT NOTE
This is unsupported software. Due to lack of resources, we will not be able to answer any questions about setup or porting to different hardware platforms. You will have to make it work without our help. Please do not be offended if your mails regarding this software go unanswered.
However, if you make improvements such as porting to a standard PC sound card for voice alerts, we are happy to store your version on our Web server for general access (or add a pointer to a new version if you offer it via your own FTP/Web site). With the above caveat, correspondence regarding this software should be addressed to: scope@neurovision.berkeley.edu
See file LICENSE in the package for copying and redistribution rules.


There are several components to the software package. All components except for [NS.2] (see below) are contained in the package below -- Click one of the links to start a download:
Via HTTP Compressed tar file (0.9 Mbytes, PhysMon.tar.Z)

The package contains the following:

PC software

[PC.1] SCOPE -- the main monitoring program that runs on the PC
    (written for TurboC 2.0)
    Distribution package: PC/scope.zip
    Note: Needs PCL-812 data acquisition board.  This is an
      industry standard A/D, D/A, Timer board.
      Set the triggering jumper to internal.  Scope uses the
      timer as a pacer for triggering the A/D converter.  It
      does not use interrupt, but waits for "conversion done"
      flag in a loop.

[PC.2] Network (TCP/IP) commands for the PC
    (written for MSC and Ungermann-Bass networking library)
    All of the following commands relies on SpikeServer (see [Unix.1])
      appendln - appends a line of physiology record for logging.
      chknxdir - checks if a data directory exists and writable.
      nettime -  synchronize time of PC to that of Unix host.
      say_this - play series of sound files.
      sendfile - sends a data file to the Unix host (for data backup).
      getfile - get a file from the Unix host.

    Distribution package: PC/sendfile.zip
    Note: Do not try to run executable contained here unless you have
      Ungermann-Bass PC-NIU and driver software installed.  These are
      quite generic network commands, but due to non-existent state of
      TCP/IP support for MSDOS around 1986, when the network boards were
      acquired at UC Berkeley, some calls such as close() have been
      replaced with closesocket().  You should be able to modify path to
      network include files and other parts to suit your TCP/IP library
      configuration.  It should be quite easy to port these commands to
      packet driver or Winsock library.  I have no experience with either
      on the PC.
      Commands sendfile, getfile, say_this are used by another PC that
      controls experiments and performs data acquisition.  I.e., the
      the Unix-based sound server is used by multiple machines to
      generate voice messages during experiments.

UNIX software
You must port these to your Unix, or port the functionality to the PC.
[UNIX.1] SpikeServer -- server that handles network requests from
    commands in [PC.2].  This will be unnecessary if you implement sound
    support on the PC itself.  Very generic TCP/IP code for Unix.
    It listens to a TCP port for connections from client commands from the
    PC as listed in [PC.2].

[UNIX.2] saystring -- voice alert command, includes our collection
    of sound files.  Most of the sound files contain voice samples of
    Geoff Ghose.  The sound files *.snd are fully compatible with sound file
    format for Sun SparcStations (simply rename them to *.au).
    This program may be modified to run on the PC using a sound card.


NEXTSTEP software
(used only for generating plots, see Fig. 3 of the paper)
This component is not necessary for running SCOPE. You will be better off rewriting your own report generator, unless you already use NEXTSTEP.
[NS.1] Physiology -- generates plots of parameters.

[NS.2] NGII -- graphing library code used in [NS.1].
    This is distributed separately.
    Click below to start a download:
    Compressed tar file(1.6 Mbytes, NGII.tar.Z)

Return to lab sofware listing
Return to lab home page

Izumi Ohzawa (96-03-28)