Re: Is anyone aware of a timing problem when using Notifiers ?

2004-06-03 Thread Steven Bird
I think setting this parameter may help the issue but the initial issue regarding the removal of the sequence structure and the variable not clearing could be due to data flow. By using the sequence structure you are forcing the execution flow. I think what was happening is that you were getting a

Re: Is anyone aware of a timing problem when using Notifiers ?

2004-06-03 Thread SteveMoores
Thanks for the response, the system works as expected now.

Re: Is anyone aware of a timing problem when using Notifiers ?

2004-06-02 Thread Tony Rivera
Try setting the 'ignore previous(F)' flag to true.

Re: Notifiers

2004-05-07 Thread Mads
Yes, that's how they are normally used. You can pass the notifier reference via wire or global, or obtain it by name in each VI.

Notifiers

2004-05-06 Thread rk1960in
HI! List, Can the notifiers be used in two different VIs? TIA, Rachana

Re: how to use notifiers?

2004-05-03 Thread Dennis Knutson
From one of your other postings, I see that you're using LV 7. I would rceomend using the event structure. There's a couple of shipping examples that you cna look at.

Re: how to use notifiers?

2004-05-03 Thread lihui
Thanks for the answer. But can you show me also a sample on notifier and occurrence, i want to learn how to use them.

Re: how to use notifiers?

2004-05-03 Thread lihui
I only got the standard edition. My program requires the execution of many loops concurrently and when i placed more than 3 loops, my data(from GPIB) cannot be received by LabVIEW. Thus i need to improve on the effieciency of my current program.

Re: how to use notifiers?

2004-05-03 Thread CoastalMaineBird
So what happens when you put WAIT functions in the loops?

Re: how to use notifiers?

2004-05-03 Thread lihui
If i put wait functions in the loop i manage to receive more queries but not all of them. eg. i got queries and commands like id?, trm?, sqb?, etc. so with more loops i cannot read the id? (first one) i tried many ways to increase the effieciency of the loops and i manage to receive some (eg. up

Re: how to use notifiers?

2004-05-02 Thread CoastalMaineBird
I would suggest using a WAIT function for 100 mSec or so in the main loop. If you don't have that, the main loop will poll your button at a million times per second or more. There's no need to poll the thing that fast - it will starve any other loops. It means that you will respond to the QUIT

Re: Notifiers vs occurences

2004-02-20 Thread JB
be cancelled easily. 4) It is not absolutely necessary to transmit the reference number of a notifier to the different parts of code. You can use its name. There is a description of notifiers in .\examples\general\notifier.llb\Notifier BASICS Part 1.vi If you only need to synchronize two

Re: Notifiers vs occurences

2004-02-20 Thread shabu
Thanks for a good answer. Few more things: Do occurences use CPU time by polling? If not then I think I can leave the code in the form it is now, and that is with occurences. I am using occurences to sync two pieces of code and thats all, no data passing etc. Comments?

Re: Notifiers vs occurences

2004-02-20 Thread JB
CPU goes to sleep when waiting for an occurence -- same as for notification. No reason to change your code for that.

Re: Notifiers vs occurences

2004-02-20 Thread shabu
Thanks a lot, for your help

Notifiers vs occurences

2004-02-19 Thread shabu
I was wondering if there is a preference amongst Labview Gurus regarding the use of Notifiers vs occurences. We have an application that uses occurences. Someone suggested that its better to use notifiers but didnt give reasons. Can anyone lay down the pros and cons for both schemes.