Download pmacpanel user manual

Transcript
PmacMotorPVE is an extension of the position, velocity, and following error
VIs that combine them into a single VI that can be used to drive the
PmacMotorPVE indicator. The use of these VIs is shown in the diagram
below.
•
PmacMotorPVE - Query PMAC for the position, velocity, and following
error for Motor Number operating in Coord Number. Assemble the
measurements into Motor PVE Cluster. If Convert is TRUE convert the
measurements to CS units. Otherwise, leave them in encoder counts. See
the documentation for PmacMotorPosition, PmacMotorVelocity, and
PmacMotorError for details on how these individual values are produced.
A Coordinate Specify Cluster is assembled from three controls on the panel.
Each of the individual Position, Velocity, and Error VIs receives the cluster.
The P, V, and E VI outputs are used to drive three individual numeric indicators.
In this example, the indicators have an attribute node to set their color. The
color for the text is provided by PmacCoordColor. The indicator color is
Orange if the reported value is in CS units and Blue if it is in encoder counts.
70
Chapter 4 – Application Basics