Skip to content

Issue 398: parameter validation

Created by: meguiraun

I am quite happy now!

  • routes for getting limits on motor positions (physical or pseudos) and acquisition parameters
  • form validation: if any parameter in forms {datacollection, char, helical} is wrong, the problematic input field is set as warning and the "run now" and "add to queue" buttons are disabled until the user types a correct value

Notes:

  • missing motor inputs limits on the client: the current implementation already prevents the user for going of limits so I have not modify anything in this regard
  • long time without writing javascript so the code quality can be improved
  • I am not sure if it is fully compatible with all possible hwobj
  • Not tested in real world: and will not be able to test soon...

Merge request reports