Namespace: Controller

Ui.Controller

A namespace for the Controller functions in the client app.
Source:

Methods

(static) window.sendStepSize(ssId)

Sends a command to the Horus server to execute the step size on the step motors in the direction given by the ssId string.
Parameters:
Name Type Description
ssId string String in the format 'dxy' where 'x','y' = '0', '1', or '2'. '0' for step backward, '1' for hold still, and '2' for step forward, with 'x' for the fixed and 'y' for the mobile step motor.
Source:

(static) window.switchLaser()

Sends a command to the Horus server to switch the laser on/off state.
Source:

(static) window.updateStepSize()

Updates the step size value shown next to the step size input rangeHTML element.
Source: