Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Event structure challenge Please help.

4 views
Skip to first unread message

Bob

unread,
Feb 17, 2010, 9:00:02 PM2/17/10
to
I have this bug that is driving me crazy. Spent 2 day's and still no where.
I won't ask why the most simple things are the hardest with labview becuase
that
will just open a can of worms. Anyway, here is what I can't figure out.

I have an ok button that is activated through a AI channel. When high
the button goes on as is should on the front panel. What I need to do
is have an event occur only when the button is back off when the signal goes
low. The problem is that events only handle mouse or keyboard movement.
They do handle value change but no good becuase you can't specify
from on to off or off to on. The second problem is I need nothing to happen
when the button is activted only when it goes from on to back off.
Sounds simple enough but it's not. When the AI signal goes low and button
is
false I need that to trigger a timer for given amount. I am no slouch with
labview
but this one has me puzzled. Any suggestions are badly needed here!

Thanks in advance.

Bob


Bob

unread,
Feb 18, 2010, 7:47:57 PM2/18/10
to
Thanks for the replies. It alomost works except the new problem is
that it only works with the mouse. When triggered by the AI
nothing happens becuase the event structer hangs the loop.
Nothing executes with the AI.
Any ideas?

"Bob" <Nos...@noreply.com> wrote in message
news:hli6v5$kmu$1...@news.eternal-september.org...

Bob

unread,
Feb 19, 2010, 11:13:17 AM2/19/10
to
Will try to post code. I have 2 loops. The event is in it's own loop.
Still don't understand why value change is not value change.
Seems labview is quite dumb in this regard. The value is being changed
through AI on one loop passed through local varibale to the event loop.
as I said, When you change value with the mouse I get desired result
but when triggered though local varibale or property node the event is not
detected even though the button does change on the FP. It's probably a
simple fix but I guess I don't know enough. This almost seems like a bug. As
I said.
I recall in past versions that no matter how you changed the value it was
detected.
I can't put the event in the AI loop as it has sound incorperated. what
happend then is the loop is frozen as the even structure is waiting.

"Bob" <Nos...@noreply.com> wrote in message

news:hlkn46$2qt$1...@news.eternal-september.org...

CL

unread,
Feb 22, 2010, 3:09:54 AM2/22/10
to

a screenshot would be nice ;)

0 new messages