VI High 56 - How to Pass Data Between States in a LabVIEW State Machine - pt 1

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2024

Комментарии • 2

  • @pranav656
    @pranav656 10 лет назад +1

    can local variables be used to pass data between states??

    • @Sixclear
      @Sixclear  9 лет назад +2

      Pranav Sailesh Hi Pranav, great question! Functionally, local variables can pass data between states, however there are a ton of reasons why it's not a good idea, especially as your code expands and you get into parallel operations. See VI High 42 for more information on the race conditions that can result from using variables. Additionally, local variables use more memory. For those reasons, we standardize on the data cluster in a shift register.