CommandListAppendLaserOn(Int32, Boolean) Method |
Switch the laser on for a specific pulse count.
Namespace: RAYLASE.SPICE3.ClientLibAssembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.10.0
Syntaxpublic void AppendLaserOn(
int pulses,
bool async = true
)
Parameters
- pulses Int32
- The number of pulses.
- async Boolean (Optional)
-
When set to true subsequent commands are executed in parallel with this one. This means that laser will stay on for the given number of pulses, even if a jump command is executed. Note, that on the end of the list or if another command follows that controls the laser (such as another "AppendLaser" style function or a mark), it will first finish the asynchronous action before continuing.
When set to false subsequent commands will only be executed after this command has finished executing and laser is turned off again.
Remarks
See Also