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 (PJM_labview @ Apr 14 2009, 01:34 PM) Turn that idea inside out. Sub-VI writes then invoke bat file that runs the app and the after the app is done the next line in the bat file deletes the ini. On second thought will not work since LV will wait for the bat to complete...??? Ben
  2. QUOTE (scls19fr @ Apr 14 2009, 12:49 PM) I used to use circular buffers regularly but since the introduction of the polymorphic queue (which means the queeu can be of any data type you want... including clusters). Here is a screen shot of what may have been my last circular buffer from LV 6.0 (judging by the use of string for my actions since they were all the rage back then along with my use of red comments whcih I have since discontinued). http://lavag.org/old_files/monthly_04_2009/post-29-1239728948.png' target="_blank"> The reason I don't use circlular buffers is because Queues are faster (under most circumstances). So leave teh circular buffer for those cases where you want to be able to survive a power failure (data written to disk) and get comfortable with Queues. Ben
  3. QUOTE (jpdrolet @ Apr 14 2009, 12:26 PM) Ben
  4. QUOTE (crossrulz @ Apr 13 2009, 03:23 PM) :thumbup: Ben
  5. QUOTE (ejensen @ Apr 9 2009, 09:51 AM) I just stumbled across (what to me is new) a property for graphs called "AutoscaleDelay". Is controls how often a grph will Auto-scale. I have no idea in whcich version this was introduced. Ben
  6. QUOTE (shoneill @ Apr 13 2009, 08:45 AM) So the correct answer is D, none of the above. Ben
  7. QUOTE (Michael Aivaliotis @ Apr 10 2009, 04:52 AM) Thank you for that link Micahel! The parts I read and associated figures were educational. The up-cast and down cast operators neve made much sense to me but looking at the hand drawn images make more sense now. Ben
  8. QUOTE (scls19fr @ Apr 9 2009, 09:23 AM) I'll leave the modal window" for other to answer but hiding groups of control can be accomplished by using a tab control with a tab page that is hidden until the password is entered. I find the tab control approach to be an easy way to control the visablity of a collection of objects. Ben
  9. QUOTE (ejensen @ Apr 9 2009, 09:32 AM) ? Set the graph/cahart as "syncronous" ? You did not mention which version of LV. I think it was LV 8.2 where I had a hell of a time trying to get the graphs to update properly. If I remeber correctly, NOT using defer FP update helped. In other version of LV if the chart/graph where on a non-selected tab page, I had to "jiggle the handle" (invoke node Get image) to get the image to update. Ben
  10. Re: ethics of developing I carry a Swiss Champ Swiss Army knife. One of the widgets on the flip side is a hook type thingy that many people don't have any idea how to use it. The rest of the knife retians it usefulness dispite the fact that it has an "un-documented feature"*. Now if popping out that hook gizmo resulted in the knife blades going dull or the sharp edge switched to the other edge, then I would question if including that hook thingy without documenting it was a good idea. Going farther, if the knife was sold as a self defence device I would feel that I should clearly document the possible negative effects of extending the hook when the knife was being used for self defence. If I was the developer of virtual instrument panels for air craft and I thought I could expand my customer base by allowing the pilots to choose their own color scheme I may experiment with adding this feature. Provided I did not expose this feature to the customer and stayed with the original color scheme in the sipping code, I do not see how I would be casuing harm to them. Later if I exposed the color options WITHOUT putting in place logic to ensure they never choose black-Text-on-black-background and I knew about this issue, then I would feel that I am neglegent. In NI's case their code falls into at least two catagories, code used to develop code and code used by end user. The former is LV and the latter is NSV etc. Since the LV development environment is intended to develop code as long as it allows us to do that, it could have an easter egg that gave step by step instruction to build a bomb and I would still concider it ethical. But if LV produced exe's with that easter-egg bult in, then I would question the wisdom of using LV since I would not be able to look my customer in the eye knowing that the easter egg could be there. Another thought: Are any of you out there old enough to remember people asking "Hmmm... I wonder what that asterisk and pound sign thing are for?" when phones switched from rotary dial to push-button dialing. In that case new undocumented features were introduced and few people question the ethic of adding the asterisk and octothorpe. As engineer and scientist society is constantly looking to us to answer these technology questions (someone has to interpret the entrails) and I am glad this Q is being discussed. Here is an example of what I discounted as a mis-use of my engineering skills. I drive thru Yuppy-town on the way to work and home every day. Durring this short drive I can encounter up to a dozen people driving stupid with a cell phone to their ear. The ispiration hit me (shotly after one of them almost hit me) to build a "Cell Phone Zapper" that I could carry in my car and use to blow-out the reciever circuits of any cell phone I point it at within range. Sure I could get my jollies and possibly make some money selling them BUT, it just ain't right! "Just because we could do something does not mean we should." (paraphrasing Jurasic Park). Excuse me please if any of the was offensive. Ben * The hook on the back side of the Swiss Army knife is intended to make carrying heavy parcels bound with string easier as per the official documentation.
  11. QUOTE (Aristos Queue @ Apr 8 2009, 06:01 PM) Thanks for that idea. I asked if it behaved differently when he had the FP of the sub-VI open and he sias it still did not fire. I am going to have to sit down with him and do some more digging. Thank you, Ben
  12. One of my co-workers has this crazy scheme that he is trying te realize in an XControl. To work the way he wants, he wants to get an event to fire whenever the sub-VI that has his XControl on the icon connector recieve the data from the caller of the sub-VI. I have shown him examples of writting to the XControl using the terminal or via property node >>> Value and all is fine. Has anyone done somthing like that? I'm thinking that because it a sub-VI LV is passing the data through the icon connector but becasue it is a sub-VI the proxy for it is ignoring the update. Got an idea what is happening and how we can get an event to fire when the data gets updated? Thank you, Ben
  13. QUOTE (Mark Yedinak @ Apr 8 2009, 10:46 AM) As long as the input is U16 is works fine for me. What problem did you observe? Ben
  14. QUOTE (ejensen @ Apr 8 2009, 11:03 AM) Try putting both therminals in a seq frame that completes before the "undefer". AS written now there is no guarentee that the data will be presented to the graph before the undefer happens. Ben
  15. QUOTE (Steen Schmidt @ Apr 1 2009, 04:44 AM) LV is smart enough to fold code that is constant. Have you benchmarked this difference? Curious, Ben
  16. QUOTE (hma @ Jun 8 2007, 08:02 AM) Just to play what if.... that was the program requirement. Is something like that possible without resorting to an Picture control? Each "layer" of tabs could be a normal LV tab control. Mouse down on the tab would re-arrange the the tabs positions and front to back order (?). Tab names can be define at run time but new tabs to stack on top of each and the controls and indicators ON the tab pages... Sub-panels that load when tab name is shown... Turn the whole thing into an X-Control with methods to define number of layers, page name/sub-panel Sub-VI etc. I guess it could be done, ... BUT SHOULD IT BE DONE? Over lapping tabs with sub-panels in an X-Control is unchartered teritory in my book (anybody wander in those hollows?) and I'd plan for unstable ground (bugs with updates etc) and the perfromance would probalably vary with the number and complexities of rendering screen updates (how would even go about characterizing and testing the performance of a critter like that?). I think I'd go with a pitcutre control to render the background tabs and use a tab control with Sub-Panels to render the foreground. That way it is a rather static background picture over a normal ... or even better! Two picture controls next too (one above one alaong side) the tab. THat would be a no over-lap approach. Did I miss something? Done with my Sunday morning coffee. Ben
  17. QUOTE (shoneill @ Mar 25 2009, 02:43 PM) Its been a while for myself but my wife re-writes her resume for each job she is applying for. She looks at the job description and updates the resume to show that "she is the perfect person" for that job. Ben
  18. QUOTE (AnalogKid2DigitalMan @ Mar 25 2009, 11:44 AM) You got that right! I did not have a chance to read al of that but I saw no mention of LabVIEW. HOw can it be "Ultimate" without LV? Mine is a bit smaller but is controlled by a LV application (see laptop). It uses a hand built I/O sub-system (Bruce Chubb design) and the original code was written in BasicA under DOS. I converted to LV to explore the power of the Picture control and judging by how quickly people get used to the interface, I call it a success. Prior to the LV version even my partner in the project was hesitant to touch anything. More info about my layout can be found here. Ben
  19. QUOTE (LeeH @ Mar 25 2009, 05:01 AM) Look seriously at LVOOP before putting any effort into writing anything that does not use LVOOP. It worked well in my plug-in app and since all of the low-level stuff was handled by LVOOP I could just concentrate on making the app meet specs rather than coding up a mechanism to do what LVOOP offers. Ben
  20. QUOTE (Daklu @ Mar 24 2009, 02:25 PM) You sensed that? I must be thinking too hard about these replies if the vibes made it that far. Ben
  21. QUOTE (Daklu @ Mar 24 2009, 01:38 PM) Thank you Daklu for sharing that post. Lots of good thoughts in there. Ben
  22. QUOTE (menghuihantang @ Mar 24 2009, 12:13 PM) I wear wrist-braces on both hands while coding and durring long drives along with a keyborad tray, Track-ball and ergonomic keyboard. If you are like me I was OK for quite a while then got very intense with coding for an extended period of time and then it happened. I am completely pain free as long as I am disciplined about wrist-braces and track-ball. I only have to ceat for about ten minutes to agravate the injury. Do SOMETHING (see doctor, get wirst braces etc) or you will eventiually be waking up at night with shooting pains in your arms. http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=102576#M102576' target="_blank">See here ! Ben
  23. QUOTE (Cat @ Mar 24 2009, 06:09 AM) 1) If you don't make any good progress (if you do not have premier support that could be an issue) use the phrase "I understand that it should be possible to ESCALATE this call, could you do that please?" Mnay AE's (particularly the rookies) will fight that thinking that they have failed if they do so. 2) I believe it is Elijah Kerry form NI who is pushing those new tools. Since he is in the marketing side you can just ask for him when you call NI. Tell him that "Ben NI" said that "he (Elijah) can make recomendations on who to talk to to get the tool working the way it has to." Have your service request handy when you call for him since he can use that to escalate the call. 3) Talk to your local NI person. They picked-up a little extra in their pay-check when you bought that software, let them help out. I aggre with Neville that traditional approach may hel pnarrow down the issue to a point where can invoke the toolkit to get that extra info you require. Still trying to help, Ben
  24. QUOTE (menghuihantang @ Mar 24 2009, 09:00 AM) As http://forums.ni.com/ni/board/message?board.id=BreakPoint&thread.id=7246&jump=true' target="_blank">I posted in this thread, what will really make a difference is an "eye Tracker". Maybe the next generation after me will go for the brain plug vesion. Ben
  25. QUOTE (menghuihantang @ Mar 24 2009, 08:41 AM) In theory yes but in practice "it aint ready for prime time". How to do youdistingisuh between a left and right click? Dragging on a touch screen is hard if your finger starts buncing as you drag... Tried and reched for my track-ball after very short order. Ben
×
×
  • Create New...

Important Information

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