Comments (2)
The valuator documentation states:
Valuator/Scale
The valuator/scale object has several modes of operation, which implement fine/coarse sensitivity, as well as direct value selection.
Dragging the valuator/scale with MB1 depressed moves and transmits values proportional to the range of the valuator scaled into the width of the valuator (usually >= 1% for this application, depending upon the selected width of the valuator). Clicking MB1 on either side of the valuator selector moves and transmits a value increment or decrement of specified precision (for this application) of the valuator object. Clicking Control-MB1 on either side of the valuator selector moves and transmits a value increment or decrement of 10x specified precision of the valuator object.
In addition to the normal mouse-activated mode of usage for the valuator/scale, the arrow keys and shift key take on functions as well. Fine-grained Increment and Decrement are accomplished with the up/down or left/right arrow keys, depending upon the orientation of the valuator/scale. The slider will move in the direction "pointed to" by the arrow key being pressed (as expected), when input focus is set to that widget. For instance, will move the slider by +1 precision unit when the orientation is HORIZONTAL and processingDirection is MAX_ON_RIGHT.
In conjunction with increment/decrement, the key can be used to specify a coarse-grained increment/decrement. Hence, , for instance, will move the slider by +10 precision units when the orientation is VERTICAL and processingDirection is MAX_ON_TOP.
The specified precision for motion of the valuator is specified in a dialog box which is popped up by depressing MB3 in the valuator/scale. A series of toggle buttons with values of log10(precision) are selectable, with the current precision indicated by the depressed toggle.
Also, for the highest precision modification of associated process variables, the keyboard entry dialog box can be used to specify a direct-entry value to be written to the valuator and channel.
from adl2pydm.
Needs a demonstration with the MEDM "slider" widget (which is described in the .adl
file as a valuator
object. The precision (dPrecision
) is a floating-point step size to use when motion is directed by the arrow buttons.
Is there other use for the precision in this instance?
from adl2pydm.
Related Issues (20)
- apply black code style in CI
- refactor packaging per PEP518
- Warnings while converting area detector screens HOT 10
- Warnings could indicate which screen file.
- utf8 codec error when reading textix HOT 2
- error processing display[0] HOT 1
- Can PyDM accept a PV to control the number of plot points? (for MEDM `cartesian plot` widget) HOT 1
- Should we request a `row column` stacking feature for PyDM?
- some screens showing rectangles visible by dynamic attribute HOT 3
- Publish new releases on conda-forge HOT 4
- (polygon widget): Point should be output as Python tuple(number, number) HOT 3
- Widgets do not stretch when screen is stretched HOT 5
- Use PyDMAbsoluteGeometry as top-level widget for screens HOT 1
- remove pyqtdesignerpath import test from conda-forge recipe HOT 2
- Add badges to repository README HOT 1
- MEDM composite widget
- prefer pathlib to os.path
- custom badge for ANL license HOT 2
- publish conda package HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adl2pydm.