This kind of scan is available only at experiments that have the diffractometer software installed.
#!/usr/bin/env perl use Spectra; # # hkl scans # Spectra::scan( type => "hkl", start_hkl => [1, 0, 0], stop_hkl => [2, 0, 0], sample_time => 0.1, np => 11) or die " Failed to scan hkl"; Spectra::scan( type => "hkl", start_h => 1, stop_h => 2, sample_time => 0.1, np => 11) or die " Failed to scan hkl";