RunActivity Method for LCSession

This method causes one or more HEI activities to be executed.

Defined In

LCSession Class

Syntax

Call thisSession.RunActivity (name, runFlags, stopDatetime)

Parameters

Parameter

Description

name

String. The name of the activity to run. Multiple activities may be specified by separating each with a semicolon (;) within the string.

runFlags

Long. Optional. Flags that affect how the activities run. Zero or more of the following values ORed together:

LCACTRUNF_SYNCHRONOUS Runs the activity and any dependent activities synchronously. In this case, the function will return only when all activities in the list and their dependents have completed, or when stopDatetime has been reached.

The flag value is 0X01.

stopDateTime

LCDatetime. Optional. If you run activities synchronously then StopDateTime indicates the time at which this method will return if the activities are not yet complete.