Tcl Commands

7.1 AO Commands

7.1.1 Camera

ao.cam.init
Initialize the LLCCD camera
ao.cam.crt
Start/stop/disable or report the RS-170
ao.cam.crtgain
Set or report the gain for the RS-170
ao.cam.framerate
Get/set the framerate
ao.cam.gain
Get/set the camera gain
ao.cam.start
Start the camera
ao.cam.stop
Stop the camera
ao.cam.te
Turn on/off or report the TE cooler
ao.cam.te.temp
Get the temperature of the TE cooler
ao.cam.test.buffer
Test the frame buffer
ao.cam.send.buffer
Send test data from the frame buffer

7.1.2 Client/Server

ao.client.set.host
Set the AO server host
ao.client.set.port
Set the AO server port
ao.client.start
Connect to the AO server
ao.client.status
Get the status of the connection
ao.client.stop
Disconnect from the AO server


7.1.3 Control System

ao.close.loop
Close the AO loop
ao.open.loop
Open the AO loop
ao.reset.loop
Reset the AO loop
ao.control.gain
Set the gain of the control system
ao.control.limit
Set the limit of the control system
ao.control.alpha
Set the alpha of the control system
ao.control.coeffs
Set the coefficients of the control system

7.1.4 DM

ao.dm.base.poke
Poke one DM actuator
ao.dm.clear
Write a zero pattern to the DM
ao.dm.index.to.pos
Convert from a DM index order array to (x,y) position array
ao.dm.pos.to.index
Convert from a DM (x,y) position array to index order array
ao.dm.map.to.index
Convert a DM (x,y) position to an index
ao.dm.map.to.pos
Convert a DM index order to an (x,y) position
ao.dm.poke
Poke one DM actuator
ao.dm.stop
Stop the output to the DM in test mode
ao.dm.write
Write a pattern to the DM

7.1.5 General

ao.diag
Setup for diagnostic mode
ao.get.op.mode
Get the current mode of operation
ao.get.op.state
Get the current loop state
ao.help
Print short description of the ao procs
ao.init
Initialize the AO system (VxWorks side)
ao.set.wpa
Set wfs mode to WPA
ao.set.spot.fit
Set wfs mode to spot fitting
ao.setup.collect
Setup for gradient collection mode
ao.setup.grab
Setup for image acquisition
ao.setup.loop
Setup for closed-loop mode
ao.start
Start the AO system in the current mode
ao.stop
Stop the AO system
ao.term
Terminate the AO system (VxWorks side)

7.1.6 Data Collection

ao.capture
Trigger the capture of data
ao.upload.drive.signals
Upload DM drive signals
ao.upload.gradients
Upload wavefront gradients
ao.upload.modes
Upload wavefront modes
ao.upload.intensity
Upload average pixel intensity
ao.upload.raw.image
Upload raw LLCCD camera images

7.1.7 LLCCD Remapping

llcam.help

llcam.pack

llcam.unpack

llcam.order

llcam.unorder

llcam.ifmap

llcam.ifmask

llcam.ifsplit

llcam.ifmerge

llcam.ifmergeone

llcam.ogmap

llcam.ogmask

llcam.ogsplit

llcam.ogsplit.rect

llcam.ogmerge

llcam.matsplit

llcam.xyweights

llcam.rect.ind

llcam.rect.last

llcam.last.ind

7.2 Stage Commands

7.2.1 Client/Server

stage.client.set.host

stage.client.set.port

stage.client.start

stage.client.status

stage.client.stop

7.2.2 Motion

stage.find.encoderMark

stage.find.home

stage.move.abs

stage.move.rel

7.2.3 Get

stage.get.DriverId

stage.get.acceleration

stage.get.deceleration

stage.get.divideFactor

stage.get.encoderDeadZone

stage.get.encoderPosition

stage.get.encoderPresent

stage.get.encoderResolution

stage.get.encoderStallFactor

stage.get.encoderStallInterval

stage.get.holdCurrent

stage.get.huntResolution

stage.get.huntVelocity

stage.get.hwreg

stage.get.inPort1

stage.get.inPort2

stage.get.inPort3

stage.get.initialVelocity

stage.get.jogFast

stage.get.jogSlow

stage.get.limitPolarity

stage.get.limits

stage.get.motorPosition

stage.get.moving

stage.get.outPort1

stage.get.outPort2

stage.get.outPort3

stage.get.position

stage.get.resMode

stage.get.retryCount

stage.get.runCurrent

stage.get.settlingDelay

stage.get.slewVelocity

stage.get.state

stage.get.tripPoint

stage.get.tripVector

7.2.4 Set

stage.set.acceleration

stage.set.current

stage.set.deceleration

stage.set.divideFactor

stage.set.encoderDeadZone

stage.set.encoderResolution

stage.set.encoderStallFactor

stage.set.encoderStallInterval

stage.set.holdCurrent

stage.set.huntResolution

stage.set.huntVelocity

stage.set.initVelocity

stage.set.jogFast

stage.set.jogSlow

stage.set.limitPolarity

stage.set.origin

stage.set.outPort1

stage.set.outPort2

stage.set.outPort3

stage.set.resMode

stage.set.retryCount

stage.set.runCurrent

stage.set.settlingDelay

stage.set.slewVelocity

stage.set.tripPoint

7.2.5 Misc

stage.reset

stage.save

stage.setup

stage.update.position

stage.update.ioPort

7.3 Utility Commands

7.3.1 AOA Log

aoalog.status

aoalog.error

aoalog.warning

aoalog.info

aoalog.debug

aoalog.console

aoalog.host.enable

aoalog.host.disable

aoalog.file.enable

aoalog.file.disable

7.3.2 ParamDB

paramdb