移動先: 概要 戻り値 関連項目. フラグ. MEL 例.

概要

enableDevice [-apply] [-device string] [-enable boolean] [-monitor] [-record]

enableDevice は 「元に戻す」が可能、「照会」が可能、「編集」が不可能 です。

デバイスに関係するアクションに対して、デバイスの有効/無効の状態を設定(または照会)します。
-monitor
指定したデバイスのすべての assignInputDevice と attachDeviceAttr 動作に作用します。
-record
デバイスが recordDevice アクションによって記録される(デフォルト)かどうかを指定します。
-apply channelName [channelName ... ]
デバイス チャンネルからのデータが、指定したチャンネルにアタッチされたパラメータ カーブに適用されるかどうかを制御します。

applyTake のチャンネルを無効にして、すべての「子」チャンネルの有効な状態を applyTake で無視する、つまり無効にします。

戻り値

なし

戻り値の型は照会モードでは照会フラグが基になります。

関連項目

applyTake, defineDataServer, defineVirtualDevice, filter, movIn, movOut, readTake, recordDevice, writeTake

フラグ

apply, device, enable, monitor, record
ロング ネーム(ショート ネーム) 引数型 プロパティ
-device(-d) string
変更するデバイスを指定します。
-enable(-en) boolean
モニタ、記録、適用を有効(または無効)にします。
-monitor(-m)
デバイスの更新の表示を有効/無効にします(デフォルト)。
-record(-rec)
「recordDevice」デバイスの記録を有効/無効にします。
-apply(-a)
指定したチャンネルの「applyTake」を有効/無効にします。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : 1 つのコマンドで複数回使用可能なフラグ

MEL 例

// Enables all assignInputDevice and attachDeviceAttr actions for the
// device named "clock"
enableDevice -enable true -d clock;

// Stops applyTake (with no arguments) from updating param curves
// attached to the minutes  and hours channels of device named "clock"
enableDevice -enable false -d clock -apply minutes hours;