BaseScanControllerGoToAndAverage Method |
Moves to each specified position in sequence and performs an acquisition by setting outBit at each location for
timeSpans.
Namespace: RAYLASE.Marker.Device.ScanControllerAssembly: RAYLASE.Marker.Device (in RAYLASE.Marker.Device.dll) Version: 2.43.0
Syntaxpublic virtual void GoToAndAverage(
IList<dvec3> positions,
IList<TimeSpan> timeSpans,
int outBit,
int outPort,
Polarity outPolarity,
double jumpSpeed,
double jumpDelay,
bool async,
CancellationToken? token = null
)
Parameters
- positions IListdvec3
- A list of positions to move to, in order. Each position is represented as a three-dimensional vector.
- timeSpans IListTimeSpan
- A list of time intervals to spend averaging at each corresponding position. The count must match the number of
positions.
- outBit Int32
- The output bit to activate for acquisition. Specifies which bit of the output port is used.
- outPort Int32
- The output port number to use for signaling. Determines which hardware port is triggered.
- outPolarity Polarity
- The polarity of the output signal. Specifies whether the signal is active high or active low.
- jumpSpeed Double
- The speed at which to move between positions.
- jumpDelay Double
- The delay to wait after reaching each position before starting averaging.
- async Boolean
- Indicates whether the operation should run asynchronously. If , the method returns
immediately and completes in the background.
- token NullableCancellationToken (Optional)
- An optional cancellation token that can be used to cancel the operation before completion.
See Also