Script database

QuickTest

Often used by the developer to check images from a single protocol, confirming the usage scenario. Useful for running a script in under a minute.

Code

/**
 * Property of Kramer Labs, MSU 
 */

/**
 * Quick script to test Intensity controls and a single Camera Protocol.
 *
 * made: 2017-03-29
 * by:   William A. Norman
 */

// Standard way to capture f0fm data
var f0fm = new CameraProtocol ('f0fm')
  f0fm.setAnalysisID          ('f0fm')
  f0fm.setSensorGroupID       ('*')
  f0fm.setSensors             ('*')
  f0fm.setNumberLoops         ( 6 )
  f0fm.setFramesPerLoop       ([ 5, 5, 5, 5, 5, 5 ])
  f0fm.setMeasuringLight      ([ 1, 1, 1, 0, 0, 0 ])
  f0fm.setSaturationFlash     ([ 0, 1, 0, 0, 1, 0 ])
  f0fm.setExposure            ([ '50us' ])
  f0fm.setFrameInterval       ([ '70ms' ])


set_intensity(100)
wait("5s")
run_camera_protocol(f0fm)
wait("15s")
set_intensity(0)