NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Knight of NI
Knight of NI
Ben
Posts: 16,091
0 Kudos

Re: Community Nugget 1/29/2007


tst wrote:
...
Well, apparently you could:

 

https://decibel.ni.com/content/groups/sweet-apps/blog/2012/02/14/intel-pipe-dream-demo-industrial-co...

 

 

One thing I don't like there, though, is that the video is edited, so it's not clear how real this actually is. They also don't explain how they get it to work correctly.


 

I can't explain how they implemented it but I never had any question if WE could do it.

 

Thanks for that link Yair!

 

Ben

 

Ben Rayner
Who is NOT John Galt... yet... just building Rayner's Ridge

Knight of NI
Knight of NI
tst
Posts: 10,301
0 Kudos

Re: Community Nugget 1/29/2007

OK, now they added a link to a video which does demonstrate better how it works and sounds:

 

http://www.youtube.com/watch?v=xAQX8W3D6Mg


___________________
Try to take over the world!
Active Participant
LabBEAN
Posts: 340
0 Kudos

Re: Community Nugget 1/29/2007


Tomi wrote:

Also wait for notification or wait for multiple notifications nodes cannot be used in a non-re-entrant subVI safely as is described in this thread.


 

The link is now dead.  Could someone repost?  I did some testing before I wrote my Wait for Flag / Set Flag community example, and notifiers seemed to outperform occurrences.  Cannot remember if I was opening and closing the notifier reference repeatedly, though (which is of course not recommended).

 

Knight of NI
Knight of NI
tst
Posts: 10,301
0 Kudos

Re: Community Nugget 1/29/2007

[ Edited ]

LabBEAN wrote:

The link is now dead.  Could someone repost? 


This is the thread Tomi was talking about - http://lavag.org/topic/4028-notifier-signals-missed/

 

Note that there was a server crash on LAVA a while back, so not all of the attachments or images from that thread may be available.

 

 

I didn't look at the example you uploaded, but since I never had a need to test the performance of either notifiers or occurences, I don't know if I would have what to say about it anyway. What I would say is that I generally just code using what satisfies the functional requirement. Performance is usually not a factor in my case, since all options are good enough.


___________________
Try to take over the world!
Active Participant
LabBEAN
Posts: 340
0 Kudos

Re: Community Nugget 1/29/2007

Thanks for the link, tst.

 

 


 

tst wrote:

I didn't look at the example you uploaded, but since I never had a need to test the performance of either notifiers or occurences


 

The example I uploaded isn't a performance test.  I did the performance test before developing the reuse I posted in the example.  Early in my LabVIEW development, I was frustrated by 3 things:  (1) that I couldn't set a panel of controls to default at the same time (which maybe I could have back in 6i, but I wasn't aware of it anyhow), (2) that I couldn't pop up on a diagram node and "Create Controls and Indicators", and (3) that I had to jump through hoops to stop multiple loops with a Stop button (set mechanical action = switching, create local variables, set Boolean button back to False after all loops exit).  The first 2 we can do today in LabVIEW.  The third is still a point of frustration (e.g. creating Global Variables or monkeying with Notifier primitives).  Architecturally, you might not stop loops this way, but you might want to in secondary user interface pop up VIs or across daemons. So, I developed a simple solution that also has many other use cases.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page