PC-DMIS 2019 R2 Object Library
Sleep Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
seconds
The number of seconds to pause. Any precision beyond milliseconds is ignored.
PCDLRN ActiveX DLL > OldBasic Object : Sleep Method

Glossary Item Box

Description

Pauses execution for the specified number of seconds after the previous feature has finished executing.

Syntax

Visual Basic
Public Sub Sleep( _
   ByVal seconds As Single _
) 

Parameters

seconds
The number of seconds to pause. Any precision beyond milliseconds is ignored.

Remarks

Sleep calls the Wait function to ensure that the sleeping does not begin before all previous features have been executed.

See Also

Copyright © 2019. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.