CutOrMap (OMS)

The Online manual contains the explanations concerning the CurOrMap feature. Here only the functions are listed:

$ret = Spectra::get_motor_flag_cutormap( "motorName"); 
$ret = Spectra::set_motor_flag_cutormap( "motorName", 0); # cutOrMap is ignored
$ret = Spectra::set_motor_flag_cutormap( "motorName", 1); # cutOrMap is a cutting point
$ret = Spectra::set_motor_flag_cutormap( "motorName", 2); # cutOrMap is a mapping point

$ret = Spectra::get_motor_cutormap( "motorName"); 
$ret = Spectra::set_motor_cutormap( "motorName", $value);