tf_udid_active/2—verify whether one or more time frames specified by mc_udid are active at a specified time

The syntax for tf_udid_active/2 is as follows:

tf_udid_active($TIMEFRAME,$TIME)

tf_udid_active/2 arguments 

Argument

Mode

Type

Description

$TIMEFRAME

Input

  • STRING
  • LIST_OF STRING

  • Time frame mc_udid
  • mc_udidlist for multiple time frames

$TIME

Input

INTEGER

Specified time to check activity

Use the tf_udid_active/2 to determine whether time frames $TIMEFRAME are active at time $TIME.

A time frame is specified with its mc_udid. One or multiple time frames can be specified.

The primitive will fail if the indicated time frames are not all active at the indicated time.

tf_udid_active/2 example

if ( tf_udid_active(['TF.001','TF.002'],$TIME) ) then ...
Was this page helpful? Yes No Submitting... Thank you

Comments