Jump to content

Grampa_of_Oliva_n_Eden

Members
  • Posts

    2,767
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by Grampa_of_Oliva_n_Eden

  1. QUOTE(crelf @ Apr 5 2007, 12:03 PM) Nice image. Reminds of a Luis Black routine were he talks about his head exploding after trying to figure out what someone meant when he over heard them saying "If it wasn't for that horse, I would not have spent that year in college." Re: the original posting. Do you want to A) read the resistor color codes B) match impeadance, C) apply Ohms and Kertchov's voltage law to figure out what is in a blakc box? Ben
  2. QUOTE(Tomi Maila @ Apr 4 2007, 12:22 PM) 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
  3. QUOTE(PJM_labview @ Apr 4 2007, 11:09 AM) 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
  4. QUOTE(crelf @ Apr 3 2007, 06:57 PM) Try as I may to pull the conversation up out of the muck and mire.... Well if you can't beat them join them. This reminds of the time I was drinking beer with a Nazi in the 5th dimension when my G-string theory broke. I quickly reached fro ctrl-z to invoke a nearby worm hole but a concurrent rush by the 97.73% other that had stoped in from the 6th dimension (for a beer of course) resulted in me hitting ctrl-s and the next thing you know a jack-booted type was demanding I produce my papers or else subject myself to an immediate re-certification process. I tried to ctrl-r but it was too late. It was not a good day. Ben
  5. QUOTE(Mike Ashe @ Apr 3 2007, 11:48 AM) Re: the certification tangent Are we demonstrating Alfa's 97.73% theory ? Ben
  6. QUOTE(crelf @ Apr 2 2007, 02:09 PM) Lacking something witty, how about something controversial. I was watching a report on Georges visit to Walter Reade (sp?) and durring the tour they showed him that the recouperating service members have access to the web and I am convinced he said "It's nice to see they have access to Mac's.". I know how Urs would feel about this but this raises the question "Does being a Mac user put you the 97.73% group? Ben
  7. QUOTE(Thang Nguyen @ Mar 30 2007, 02:19 PM) Is the VI that creates the queue always in a run or reserved to run mode after they are created but before they are closed? I am asking this because the error = 1 is invalid object. This will happen if the queue was already destroyed. Part of teh house keeping work done by LV is to keep track of resource that are allocated by each VI and releasing them when the VI goes idle. So... If the creators of the queues goes idle and or are unloaded form memory. LV will kiil the queue in your behalf. Ben
  8. QUOTE(BrokenArrow @ Mar 29 2007, 10:10 AM) Small world! I studied French for five years in high school, never did pass French 2. Since no other classes would fit into my schedule, they decided that art class would satisfy the forign language requirement. I used to think that was funny before I found out about LV. Now my "other language" requires I draw picures! "God work in mysterious ways" Ben
  9. QUOTE(Tomi Maila @ Mar 29 2007, 02:48 PM) So to summarize: While loops seem to be faster and we will have to wait until Sunday to hear more from Jim. Agreed? Ben
  10. QUOTE(Tomi Maila @ Mar 29 2007, 10:38 AM) Tomi, I am not sure (yet) if I trust these tests in the context of an action engine. Ben
  11. QUOTE(martin@aerodynamics @ Mar 29 2007, 03:47 AM) These Q are generally best answered by looking at the code and examining the buffer re-use. Are both the Control an Indicator on the root of the diagram? Ben
  12. QUOTE(LV Punk @ Mar 29 2007, 05:56 AM) What is it about engineers and scientist and they way they rise to the occation anytime some says "You can't..."?* Lets see if I can harness this energy. "You can't" do scripting in LV 8.2. Anyone one like to prove me wrong? Ben * A support engineer told me "It over your head." about 25 years ago. I taught myself to program just to prove him wrong.
  13. I do not remeber which verion of LV it was but I benchmarked the performance of the For vs While thinking that I could pick up some speed with the For loop. To my suprise the While loop won. Another point (that I was planning to cover in a future Nugget) is that AE do not have to limit themselves to a single iteration. Example: In order to "shoe-horn" an app into a FP 2000 I needed to be very careful with my memory usage. By using an AE that could call itself, all of the analysis could be performed with the data residing in the SR. It sorta works like a "state machine" with multiple entry states. SInce the actual proccessing required depended on the data, I could not tell before the AE was called, how many steps would execute. So... Using a while loop allowed me to adapt without replacing the while with a for. Just my thoughts, Ben
  14. QUOTE(BrokenArrow @ Mar 28 2007, 08:02 AM) To the best of my understanding "subroutine" priority is a pseudo-priority. It just tells LV "pull out all of the stops and run like he#$ !" Ben
  15. QUOTE(crelf @ Mar 27 2007, 03:55 PM) ... but unfortunately you can not spell it with LV constants! Ben
  16. QUOTE(TiT @ Mar 27 2007, 08:54 AM) I should have remebered I was talking to a second generation Wire-Worker. Back in the old days.... Music was recorded on a vinyl disk by modulating the depth of cut of a spiral groove with the information that is to be recorded. The vinyl disks were called "records". Very often the the records would get scratched or broken resulting in the probe ( a needle) following the crack or scratch rather the the spiral groove. When this happened the same inforamation would be read reapeatedly. It was common "back in the old days" to refer to someone that was repeating the same thing over and over again as a "broken record". Related tidbit: When a song gets "stuck in my head" I feel that I "have a scratch in the record of my brain." The part that stores "It's a Small World" is one of those areas. Ben
  17. QUOTE(TiT @ Mar 27 2007, 07:40 AM) Broken record.... Is it LV or the DB that is eating up memeory? Ben
  18. QUOTE(BrokenArrow @ Mar 27 2007, 08:29 AM) A "First Call" node would make sure the first call of this sub-VI would work correctly. I generally use the event structure value change and then read the control to determine which type of change occurred. Your version seems to be intended for a "polling" type architecture which requres my CPU but you know that already. Just my thoghts, Ben
  19. QUOTE(alfa @ Mar 19 2007, 12:03 AM) I swear "it was coming right at me!" If you had 5 foot tall rats with horns jumping in front of your car and knocking over your trash cans, you would shoot them too. I do not care what Walt Disney thought, deer are NOT cute! Ben
  20. QUOTE(Catweazle @ Mar 17 2007, 11:50 AM) Are sure that is a chaid and not an amusement ride? Ben
  21. QUOTE(Mike Ashe @ Mar 16 2007, 04:43 PM) I belive so. The bottom line is watch you memory usage. I had a customer that was crashing after a period of time. I revised the code to work in-place and it stopped crashing.It ran fine for months. The customer added a text field to the control cluster and when the recipe was large the RT target wolud eventually crash. Took the text stuff out. It worked fine again. Another customer wanted to buffer events in the RT if the Windows app went down. This was implemented as a round robbin buffer and worked fine. Unfortunately I included the error cluster in the buffer entries. Provided the were no errors the app ran and ran. If a bunch of errors were encountered, the app would crash after running out of memory. I modified the code (after attempting many other things) such that the Source fields of the error sub-Cluster (that got stored in my round robbin buffer) was replaced with an empty string and the crashes went away. What you optimally want to do ( going out on a limb here concidering the audience) is use all brown clusters. If you have to go pink, make sure the variable length buffer storage requirements are not changing. If they have to change, they change to smaller requirements. Just sharing my RT battle scars. Ben
  22. QUOTE(jakestern @ Mar 16 2007, 01:34 PM) This is not neccesarily the case. If the sub-VI's case structure that uses the enum has a "default" case, then they do not require saving. Yes LV will wan to save them but you do not have to. Now if the sub-VI is such that a default case is intolerable, then the sub-VI will require editing to add a case for the new enum values. In this case they will have to be checkd-out to do the changes. Ben
  23. QUOTE(Beri @ Mar 16 2007, 10:03 AM) For a jump start see this thread on the NI forum http://forums.ni.com/ni/board/message?boar...d=58185#M171976 Ben
  24. regarding the kneck and shoulder thing. I get that if I have to reach out for the trackball. By moving the trackball such that it is under my hand when I am sitting comforatbly, with my arms resting on the arms of my chair, I can eliminate that pain. Think fetal position! We all spent 9 months in tha postion with problems. Organize your work space such that are as comfortable as possible. Trying to help, Ben
  25. QUOTE(LV Punk @ Mar 16 2007, 06:28 AM) Just transfering the time stamp as a number works fine. I have at least one application that has bee running at multiple sites for the last five years using that method. It also works across time time zones. Added note: Avoid strings whenever possible on RT app that have to run forever. The can do very nasty things to your memory requirements. Ben
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.