Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
UPM60.mac | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
Macros to read the UPM60 controller for HBM sensors, using the following servers: These macros allow to define a pseudomotor which will be connected to an Upm60 channel. The user can define the channel on which he wants to work. DEPENDENCIES To use the `upm60' pseudomotor: | ||||||
Macros:
Usage: upm60setup <nb_of_chan> <hbmsh_device_root> <dev_name> [ "<motor_mne> <upm60_cha> <motor mne> ..."] Allows to work with Upm60 sensors of ONE UPM60 EQUIPEMENT (one single upm60 device) The list "motor_mnemo upm60_channel.." must be within " ". preliminary inits, defines: upm60_select Usage: upm60_select <mnemo_name> select the Upm60 sensor associated to motor `mnemo_name' Sets UPM60_SELMOT whatis_upm60 Usage: whatis_upm60 print the Upm60 channel number selected for polling (UPM60_SELMOT) and the associated motor config number. upm60_read Usage: upm60_read <motor_mnemo> read the value of sensor Upm60 associated to the selected motor (UPM60_SELMOT) puts the value in UPM60_VAL prints the value upm60_read3 Usage: upm60_read3 <upm60_mnemo> called by the pseudo motor mechanism read the value of sensor Upm60 associated to the selected motor (UPM60_SELMOT) puts the value in UPM60_VAL and A[$1] set_acq_time Usage: set_acq_time <acq_time_in_msec> sets the acquisition time (in msec), it is the time between sending the read command and reading the response This time is put in the global variable UPM60_ACQT by default : 300 ms set_poll_time Usage: set_poll_time <poll_time_in_msec> sets the polling time (in msec) it is the time to wait between 2 sets of acquisitions This time is put in the global variable UPM60_POLLT by default : 1 sec set_upm60 Usage: set_upm60 <value> sets the value of Upm60 selected channel | ||||||
Internal Macros: | ||||||
| ||||||
|