From: Bob on 17 Feb 2010 21:00 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
From: Bob on 18 Feb 2010 19:47 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" <Nospam(a)noreply.com> wrote in message news:hli6v5$kmu$1(a)news.eternal-september.org... >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 >
From: Bob on 19 Feb 2010 11:13 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" <Nospam(a)noreply.com> wrote in message news:hlkn46$2qt$1(a)news.eternal-september.org... > 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" <Nospam(a)noreply.com> wrote in message > news:hli6v5$kmu$1(a)news.eternal-september.org... >>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 >> > >
From: CL on 22 Feb 2010 03:09 On Feb 20, 12:13 am, "Bob" <Nos...(a)noreply.com> wrote: > 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...(a)noreply.com> wrote in message > > news:hlkn46$2qt$1(a)news.eternal-september.org... > > > > > 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...(a)noreply.com> wrote in message > >news:hli6v5$kmu$1(a)news.eternal-september.org... > >>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 a screenshot would be nice ;)
|
Pages: 1 Prev: Rotronic Humidity sensor Next: Why is SI Read and LVsound.dll issue still not resloved? |