Difference between revisions of "Logix:Impulse Splitting/ja"

From Neos Wiki
Jump to navigation Jump to search
(Created page with "しかし、インパルス連鎖を複数のチェーンに分割するノードもあり、この場合、新しい連鎖は異なるコンテキストで発生します。...")
(Created page with "= 分割の効果 = 分割が発生した場合、その分割周辺で使用されているノードによって、以下のようなことが起こる可能性がありま...")
Line 10: Line 10:
 
[[File:ImpulseSplitting_Sequence.png|500px]]
 
[[File:ImpulseSplitting_Sequence.png|500px]]
  
= Effects of Splitting =
+
= 分割の効果 =
When a split occurs the following things may happen depending on the nodes being used around this split:
+
分割が発生した場合、その分割周辺で使用されているノードによって、以下のようなことが起こる可能性があります。
* Temporary / Transient values will be unusable after the split E.g.:
+
* 一時的/過渡的な値は、分割後に使用できなくなる 例.
** The values coming out of Dynamic Impulse with Value nodes
+
** Dynamic ImpulseのValueノードから出力される値
** The values coming out of HTTP or Web Socket Nodes
+
** HTTPまたはWeb Socketノードから出力される値
** The Slot coming out of a Duplicate Slot node
+
** Duplicate Slotノードから出力されるSlot
* Values which change or update may be different then expected:
+
* 変更または更新される値は、予想と異なる場合があります。
** The iteration value of a For loop node
+
** Forループノードのint値
** Any values which change over time such as those which rely on T or a user's location
+
** Tやユーザーの位置情報など、時間の経過とともに変化する値
  
 
= Nodes which cause splits =
 
= Nodes which cause splits =

Revision as of 15:16, 7 November 2022

Other languages:
English • ‎日本語

LogiXの連鎖が複数のインパルスノードで構成されている場合、これらのノードは通常、同じ内部コンテキスト内で順番に実行されます。

例えば、次の画像では、3つの書き込みが順番に発生するようになっています。

ImpulseSplitting Writes.png

しかし、インパルス連鎖を複数のチェーンに分割するノードもあり、この場合、新しい連鎖は異なるコンテキストで発生します。その最たるものがSequenceノードで、インパルス連鎖を任意の数の他の連鎖に分割します。

ImpulseSplitting Sequence.png

分割の効果

分割が発生した場合、その分割周辺で使用されているノードによって、以下のようなことが起こる可能性があります。

  • 一時的/過渡的な値は、分割後に使用できなくなる 例.
    • Dynamic ImpulseのValueノードから出力される値
    • HTTPまたはWeb Socketノードから出力される値
    • Duplicate Slotノードから出力されるSlot
  • 変更または更新される値は、予想と異なる場合があります。
    • Forループノードのint値
    • Tやユーザーの位置情報など、時間の経過とともに変化する値

Nodes which cause splits

Here's a list of nodes which will cause a split:

  • Sequence
  • Delay / Delay with Value
  • Updates Delay / Updates Delay with Value
  • For & While
  • Pulse Random

There may be others, please update this list if you find more

Mitigating issues involved in Splitting

If you need to use values or items that change after splitting you can:

  • Use Updates Delay with Value or Delay with value to preserve a value through a Delay.
  • Use Value Register/Storage nodes to persist a value.