Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • M10
  • triton_400_PC2
  • selene
  • Helios_PC1_CryoDAC
  • bertha
  • 4K/master
  • dev_tobias/log_metadata
  • dev_HDAWG
  • triton_400
  • dev_ziMFLI
  • dev/hotfix_drawnow
  • kurt
  • dev_Rigol
  • dev_decaDAC4
  • gaas
16 results

Installation.md

Blame
  • user avatar
    unknown authored
    Some bugfixes and tweaks in smrun; split up smcNIDAQmx driver into smaller special purpose control functions
    7e203c8e
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Installation.md 1.90 KiB

    Installation

    Special Measure is best installed using the Mercurial version control system. For windows users, we recommend the GUI available at http://tortoisehg.bitbucket.org/. See the Source page for further download instructions.

    After creating a local clone, (http://code.google.com/p/special-measure/source/checkout) add the following directories to the MATLAB search path, where "install-dir" needs to be replaced by the complete installation directory:

    install-dir\sm
    install-dir\sm\procfn
    install-dir\sm\channels
    install-dir\sm GUI

    Startup

    To set up a MATLAB session for running SM, proceed as follows:

    • You need an instrument control toolbox. (ie., the National Instruments or Tektronix drivers)
    • Make sure the sm and sm/channels directories are in the path.
    • Make smdata accessible from the workspace by typing global smdata; This is necessary only once per Matlab session, or after a clear global command.
    • Load a rack from a MATLAB (.mat) file, e.g.

    "load install-dir/sm/sm_config/smdata_base".

    • Open instruments with smopen. (Assuming they follow the standard convention discussed in section "Writing instrument drivers".)

    The following examples for getting started can be found in the install-dir\config directory:

    smsetup.m: Create a rack (i.e. system configuration)
    smsetup.m: Reload a previosly created rack after restarting matlab
    smscanconf.m: Configure a simple scan

    Occasionally, it may be necessary to close and reopen instruments, for example to change certain properties such as the buffer size, or if the instrument crashes. For instruments following the standard convention, this can be done with smclose and smopen.

    See Also