Click or drag to resize

CommandListAppendSleep Method

Does nothing for a specific time interval.


Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.5.2
Syntax
C#
public void AppendSleep(
	double delay
)

Parameters

delay  Double

The period of time for which execution should be paused.

  • The unit is µs.
  • The specified value will be rounded internally to the nearest integer multiple of the Step-Period (i.e. 10µs resolution).
Remarks

Appends an SLEEP command to the list.

Caution note  Caution

If the laser was already ON prior to executing the Sleep command, it will remain ON for the duration of the specified delay.

You can prevent this by using an explicit AppendLaserOff before the Sleep command.

See Also