opiSetup_for_Octopus900 {OPI}R Documentation

Implementation of opiSetup for the Octopus900 machine.

Description

This is for internal use only. Use opiSetup() with the same parameters.

Arguments

lum

Luminance level in cd/m^2

color

Stimulus color (see details)

fixation

fixation target

fixIntensity

fixation point intensity

Details

Allowable lum and color are defined in the .opi_env$O900 environment.

Note if you specify fixation you also have to specify fixIntensity.

Value

A list with element err which is

Examples

## Not run: 
  chooseOpi("Octopus900")
  oi <- opiInitialize(eyeSuiteJarLocation="c:/EyeSuite/",
                      eyeSuiteSettingsLocation="c:/Documents and Settings/All Users/Haag-Streit/",
                      eye="left")
  if(!is.null(oi$err))
      stop("opiInitialize failed")
  if(!is.null(opiSetup(fixation=.opi_env$O900$FIX_CENTRE)$err))
      stop("opiSetup failed")
  if(!is.null(opiSetup(fixation=.opi_env$O900$FIX_RING, fixIntensity=0)$err))
      stop("opiSetup failed")
  if(!is.null(opiSetup(color=.opi_env$O900$MET_COL_BY)$err))
      stop("opiSetup failed")
  if(!is.null(opiSetup(lum=.opi_env$O900$BG_100, color=.opi_env$O900$MET_COL_RW)$err))
      stop("opiSetup failed")
  opiClose()

## End(Not run)

[Package OPI version 3.0.2 Index]