Jump to content

_thomas

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by _thomas

  1. Hi Thomas

    A Value Change event is not fired by a control when you programmatically write to it (unless you write to the Val(Sign) property).

    If you change your "Event" Switch to a control (from an indicator), disconnect the logic and run your VIs your code will work when you manually change the state of the Switch! :) Additionally you may like to put some timing in the subVI.vi's while loop - unthrottled loops hog CPU resources.

    Cheers!

    Thanks, you have solved my problem :worshippy: This was only an example, I'll not use my subVI as it is :rolleyes:

  2. Hi everyone,

    I have tried given example but without any success. I hope someone could point me in the right direction.

    First I execute subVI. I'm trying to detect "Event" indicator value change.

    post-16813-126026883592_thumb.png

    After that, I can run test.vi without any warnings or errors. During vi execution, no events are detected.

    post-16813-126026889573_thumb.png

    subVI.vi

    test.vi

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.