07-28-2016 03:42 AM
Hello, I want to create a trigger/marker at the instant when the bar appears and disappears from the box (attached VI) .
How can I approach this?
Thanks for your help.
07-28-2016 04:21 AM
First off: You should never implement VIs which include unstoppable loops (your upper one) unless you work for RT and FPGA.
The "bar" you are talking is the red bar in the image ring?
If so, you know which image (index) is "bar enter" and which is "bar exit". So you know exactly when your 'trigger' should occur.
I don't see any code you want to 'trigger' so i just recommend you to learn about queues and notifiers as these should enable you to progress on your work.
Norbert
07-28-2016 06:02 PM
Yes the "bar" is the red bar in the image ring.
Again thanks for the help