Grampa_of_Oliva_n_Eden Posted March 30, 2007 Report Share Posted March 30, 2007 QUOTE(Tomi Maila @ Mar 29 2007, 02:48 PM) You must be right. I've not been using feedback nodes so I misunderstood the meaning of initialization node, I guess.Tomi So to summarize: While loops seem to be faster and we will have to wait until Sunday to hear more from Jim. Agreed? Ben Quote Link to comment
abullen Posted March 30, 2007 Report Share Posted March 30, 2007 QUOTE(Jim Kring @ Mar 29 2007, 02:59 PM) I am under NDA not to say anything until this Sunday. I hope this isn't a 4/1 joke. Quote Link to comment
orko Posted March 30, 2007 Report Share Posted March 30, 2007 QUOTE(abullen @ Mar 29 2007, 12:56 PM) I hope this isn't a 4/1 joke. If it is, I fell for it hook line and sinker.... Quote Link to comment
Michael Aivaliotis Posted March 30, 2007 Report Share Posted March 30, 2007 QUOTE(Jim Kring @ Mar 28 2007, 10:56 PM) I prefer not to use loops, at all -- just use a unowned (floating) feedback node.Since when? Jim, stop screwing with our minds... Quote Link to comment
Ton Plomp Posted March 30, 2007 Report Share Posted March 30, 2007 QUOTE(Jim Kring @ Mar 29 2007, 07:59 PM) I am under NDA not to say anything until this Sunday. Now wher is my head plug, for the espresso machine... Or is JKI bought by NI? Ton Quote Link to comment
Aristos Queue Posted March 31, 2007 Author Report Share Posted March 31, 2007 QUOTE(tcplomp @ Mar 29 2007, 04:11 PM) Or is JKI http://forums.lavag.org/index.php?showtopic=2994' target="_blank">bought by NI? Heh. We asked them to beta test our new mind-machine interface for programming LV. We neglected to tell them that the interface went both ways... :ninja: Quote Link to comment
Jim Kring Posted March 31, 2007 Report Share Posted March 31, 2007 QUOTE(tcplomp @ Mar 29 2007, 02:11 PM) Or is JKI http://forums.lavag.org/index.php?showtopic=2994' target="_blank">bought by NI? Our legal department has advised us not to comment. Quote Link to comment
LAVA 1.0 Content Posted March 31, 2007 Report Share Posted March 31, 2007 QUOTE(jpdrolet @ Mar 29 2007, 02:37 PM) Hmmm... Just looking at the scrollbars there is a hint that the diagram is larger than what is shown...Anything hidden in the 5th dimension, Jim? Just use the Navigation window to see the 5th dimension... Quote Link to comment
Dirk J. Posted March 31, 2007 Report Share Posted March 31, 2007 or this underestimated tool... Quote Link to comment
LAVA 1.0 Content Posted March 31, 2007 Report Share Posted March 31, 2007 QUOTE(Jim Kring @ Mar 29 2007, 09:08 PM) Our legal department has advised us not to comment. Are you still represented by http://en.wikipedia.org/wiki/Dewey,_Cheatem_&_Howe' target="_blank">Dewey, Cheatem & Howe? Quote Link to comment
Mellroth Posted March 31, 2007 Report Share Posted March 31, 2007 I almost always use the WHILE loop in my LV2 globals, but sometimes I've used the FOR loop approach below to store data. http://forums.lavag.org/index.php?act=attach&type=post&id=5367 http://forums.lavag.org/index.php?act=attach&type=post&id=5368 /J Quote Link to comment
Jim Kring Posted April 3, 2007 Report Share Posted April 3, 2007 QUOTE(Jim Kring @ Mar 28 2007, 10:56 PM) I prefer not to use loops, at all -- just use a unowned (floating) feedback node.http://forums.lavag.org/index.php?act=attach&type=post&id=5331 http://forums.lavag.org/index.php?act=attach&type=post&id=5332 April Fools! I just made the While Loop larger than the Block Diagram window and colored the While Loop's frame white :laugh: Quote Link to comment
Mike Ashe Posted April 4, 2007 Report Share Posted April 4, 2007 QUOTE(Jim Kring @ Apr 2 2007, 10:36 AM) April Fools! I just made the While Loop larger than the Block Diagram window and colored the While Loop's frame white :laugh:Not bad Jim, not bad, even though several of us suspected as much. I think it was as good or better than NI's this year. Their "rerelease" of LabVIEW 2 just wasn't up to the standards of their old years. I think the best LabVIEW related AFJ in recent years has to be Michael's announcement that NI had purchased LAVA. That one nailed a lot of us. If NI had really wanted to AFJ all of us they missed a golden opportunity this year. Since some of the patents just expired earlier this year they could have said something to the effect that LabVIEW 2 or 3 or best yet LabVIEW 5 was being rereleased with open source code, ie, all the newly patented stuff still protected and hidden, but the basic G language now free. Hmm, then again, maybe that would have been crossing the line as to what was acceptable disappointment for an AFJ, and they were just too kind to pull something like that on us. Before my second cup'a joe, it might have been fatal for me... Quote Link to comment
Jim Kring Posted April 4, 2007 Report Share Posted April 4, 2007 QUOTE(Mike Ashe @ Apr 3 2007, 06:47 AM) Since some of the patents just expired earlier this year they could have said something to the effect that LabVIEW 2 or 3 or best yet LabVIEW 5 was being rereleased with open source code, ie, all the newly patented stuff still protected and hidden, but the basic G language now free. AFJ's are supposted to be funny and I don't think that anyone inside NI would be laughing at that one -- it's a serious topic. Quote Link to comment
Val Brown Posted April 4, 2007 Report Share Posted April 4, 2007 QUOTE(Dirk J. @ Mar 30 2007, 02:02 AM) or this underestimated tool... I use LV2 globals a lot -- both with for loops and while loops -- depending on the rest of the VI involved. I haven't thought about actually testing both structures, my assumption was that they were equivalent c/c++ code "underneath" so it's interesting to see the benchmarking. But it is because I use them a lot that I have concerns about the feedback node approach -- it seems like a lot of extra wiring to do, esp if you have a number of such variables within a single VI. On the other hand, one could pass around a cluster (of the separate variables) but then there's the overhead of the unbundle/bundle operations as those values are read and modified during run-time. Quote Link to comment
PJM_labview Posted April 4, 2007 Report Share Posted April 4, 2007 Just to get the discussion going, here is another style of "LV2 global" (I dont think it can be call this anymore in this situation, but ...). I am sure that Stephen is going to like this one http://forums.lavag.org/index.php?act=attach&type=post&id=5396 http://forums.lavag.org/index.php?act=attach&type=post&id=5394 PJM http://forums.lavag.org/index.php?act=attach&type=post&id=5395 Quote Link to comment
Tomi Maila Posted April 4, 2007 Report Share Posted April 4, 2007 QUOTE(PJM_labview @ Apr 3 2007, 10:52 PM) Just to get the discussion going, here is another style of "LV2 global"... What's the benefit of this method over real LV2 style globals or over using queus directly? If I'd like to encapsulate the functionality of a queue, I'd rather encapsulate it into a LVClass. Tomi Quote Link to comment
PJM_labview Posted April 5, 2007 Report Share Posted April 5, 2007 QUOTE(Tomi Maila @ Apr 3 2007, 01:21 PM) What's the benefit of this method over real LV2 style globals or over using queus directly? If I'd like to encapsulate the functionality of a queue, I'd rather encapsulate it into a LVClass. Tomi None that I know of. I just put it there for fun. Since it would never occured to me to use a for loop, I start to look for other ways that I could have missed. You can call it the obfuscated LV2 Global. PJM Quote Link to comment
Grampa_of_Oliva_n_Eden Posted April 5, 2007 Report Share Posted April 5, 2007 QUOTE(PJM_labview @ Apr 4 2007, 11:09 AM) None that I know of. ...PJM I have read posts by one of the NI guys that the queue version of the action engine will out perform the SR version. I have not verified this myself but plaaned to check this myself, some day. Ben Quote Link to comment
Tomi Maila Posted April 5, 2007 Report Share Posted April 5, 2007 QUOTE(Ben @ Apr 4 2007, 07:16 PM) I have read posts by one of the NI guys that the queue version of the action engine will out perform the SR version. Sounds weird if this really is so. Shift register is just a memory address and queue is a asynchronous function. Or that's how I've understood it. Tomi Quote Link to comment
PaulG. Posted April 5, 2007 Report Share Posted April 5, 2007 QUOTE(PJM_labview @ Apr 4 2007, 11:09 AM) None that I know of. I just put it there for fun. Since it would never occured to me to use a for loop, I start to look for other ways that I could have missed. You can call it the obfuscated LV2 Global.PJM I'm glad it was you, PJ who put this little abomination together ... for fun :laugh: . I was going to say: "very clever". :thumbdown: Quote Link to comment
Grampa_of_Oliva_n_Eden Posted April 6, 2007 Report Share Posted April 6, 2007 QUOTE(Tomi Maila @ Apr 4 2007, 12:22 PM) Sounds weird if this really is so. Shift register is just a memory address and queue is a asynchronous function. Or that's how I've understood it.Tomi Hi Tomi, I found the thread where DF Gray mentioned the single element queue was faster and why. See here. http://forums.ni.com/ni/board/message?board.id=170&message.id=227377#M227377' target="_blank">http://forums.ni.com/ni/board/message?boar...=227377#M227377 I'll see if I can squeeze in some bench marks this week-end. Ben Quote Link to comment
Tomi Maila Posted April 6, 2007 Report Share Posted April 6, 2007 QUOTE(Ben @ Apr 5 2007, 04:16 PM) I found the thread where DF Gray mentioned the single element queue was faster and why I can bet that single element queues are not faster when used in data storage for action engines. I donate to lava $5 if they are faster. Tomi Quote Link to comment
Mellroth Posted April 6, 2007 Report Share Posted April 6, 2007 QUOTE(Tomi Maila @ Apr 5 2007, 04:48 PM) I donate to lava $5 if they are faster. Tomi, I think you are safe If I remember correctly, bsvingen did some testing of this in another thread (that I can not currently find). The result, as I recall them, was that the LV2 global was faster than using queues. /J Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.