ジャンプ先: 概要. 戻り値. 関連. フラグ. 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
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// 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;