IDL@P05 user guide

Version 2.1 by fwilde on 2016/04/14 17:10

It's highly recommended to not edit this document. Any modification made will eventually be lost because it cannot reach back the owner replication instance of that document.

General remarks

Beamline control at the P05 µCT hutch uses TANGO server as backend for most applications. At P05 the Interactive Data Language (IDL) serves as user interface to the TANGO servers. IDL procedures and functions provide the functionality to control the µCT experiment and beamline optics components conveniently. A couple of general remarks should facilitate to work with IDL at P05.

  • IDL has a command history (use arrow keys to browse through recent commands)
  • IDL has tab completion (start typing a command e.g. refl<TAB> to complete reflex_opt taken from the command history), Multiple presses on tab will browse through history commands staring with what you typed.
  • IDL makes a difference between PROCEDURES and FUNCTIONS. A procedure is a piece of code that is executed without delivering a return value
  • In IDL you can chain commands with the & sign

    Chaining commands
    i=quick(300) & tv, bytscl(bin(i,4),0,65000)