Jump to content

Michael Aivaliotis

Administrators
  • Posts

    6,214
  • Joined

  • Last visited

  • Days Won

    117

Everything posted by Michael Aivaliotis

  1. Why can't you just hide the graphs then execute the openg VI again? Another option is to look inside the openg VI and find out how it's done and create some code that resizes your panel to the exact size you need?
  2. Sometimes you need to make decisions like a Ninja. Kill first ask questions later. <object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v=khS4zlinxk0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v=khS4zlinxk0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object> Let's all have fun. Thank you all for your comments and opinions on the matter. If there is anything else I need to be aware of, please don't hesitate to PM me or report a post. This thread is now closed.
  3. QUOTE(Thang Nguyen @ May 4 2007, 07:43 AM) You can modify the array so that you only view the last n points. Once it reaches a certain size (which you determine) delete one old data point from the array before adding a new one.
  4. QUOTE(i2dx @ May 4 2007, 07:52 AM) Yes, this IS a great tip. My LAVA membership just payed for itself.
  5. QUOTE(hooovahh @ May 4 2007, 07:16 AM) All of a sudden everyone's afraid to have a sense of humor? Sheesh. BTW, yes, this IS off topic and yes, it's allowed.
  6. QUOTE(robijn @ May 3 2007, 02:13 PM) The people that were "abused" sent me personal messages complaining about their treatment. The people doing the "abusing" (I use the word "abuse" for lack of a better word) are not official LAVA spokespeople so I want to make it clear as to who does the abusing. If anyone is going to abuse anybody it should be me. I never mentioned any layered system. Anybody can still be involved. Just click the Report button anytime. There is nothing else you need to do after that. A moderator will take over. Just in case you all are not aware, the only moderator right now is me. Let me be the bad guy and take responsibility for cleaning up the forums, you don't have to. I already do this on a daily basis anyway. QUOTE(robijn @ May 3 2007, 02:13 PM) I hope LAVA will continue to serve the purpose that it was set up for. If too much noise is present it will not do so anymore for me and I will use it less. If more users do this, there will be a gradual process of decay over the coming years. What do you consider noise? Questions like: "I'm getting error code 15 when running this DLL"? People come to the forums to ask questions and get problems solved. Sometimes, there are exploratory posts that lead into interesting discussions but they can't all be like that. I always start my posts with a question. I can't think of anyway else to do it. It's true that we are reaching a state where LAVA is getting very popular and everyone is joining in the discussions. You cannot blame people or scold them for walking into a "members only" club where there is no doorman, nobody checking your pass, and no sign on the wall. If that's what you all want then I don't see any other way than to have no guest access, login required, a monthly fee to join and a photocopy of your CLA certificate. Everyone is familiar with the experts exchange. This will definitely clean up the forums. On the other hand, we can just move on and try to be as involved as possible in LAVA. When I started the forums, I was the only guy answering posts, sometimes spending an hour or 2 rewriting someone's code to repost to the forums. Other times posting examples and long answers. I had no Idea who was on the other end nor cared. I'm just generous that way. But I'm sure that by doing this I earned many loyal members and inspired others to do the same. It's unfortunate that there are some HH's that want packaged solutions to their school problems. These people will be dealt with and this discussion will be history. I'm not concerned about that. What I am concerned about is that as a result of this discussion, we now have long time members doubting if they are advanced enough. What is the criteria for advanced? Can someone define this? Other than checking everyone's certification credentials I don't see how? Putting all LAVA members through a test? Is this really necessary? The only practical solution at the moment is to let the natural order of things dictate as it always has. We all need to roll up our sleeves, come out of the shadows, and put in the effort to get involved in the discussions. The more "advanced" noise we create the better. :thumbup:
  7. QUOTE(Eugen Graf @ May 4 2007, 12:34 AM) I actually mentioned this in my post http://forums.lavag.org/index.php?s=&showtopic=7531&view=findpost&p=28409' target="_blank">here. QUOTE Keep in mind that you will need different queues for different types of tasks. Sorry if it wasn't clear. However, you can combine functionality into a task to handle this.
  8. QUOTE(Tomi Maila @ May 4 2007, 12:08 AM) I agree that the situation you describe is bad, however this is a simplification of what happens in a properly architected system. Understanding that you are consuming data, you would not put your consumer code in a situation where there is a chance for it to hang due to UI interactions. A dedicated parallel process would probably be instantiated for this. It's not that important that your consumer be fast but that it always consumes at a steady rate without stopping.If you leave the queue unbounded (or a very high value) then you will notice the queue size stabilize at an acceptable value. This would not work with a fixed small queue size of 10. I modified the example to use a flush queue and even set the producer to 1ms and the system kept up fine. I agree however that when a limited queue size is required, this would not work. On the other hand, letting your queue size grow or fluctuate is not good for determinism either. All of this really depends on the speeds involved. If you have a fast producer loop with a really slow consumer then the proxy design seems like overkill since you will be missing so much data that it's probably better to use a notifier mechanism instead. Overall, your suggested design should work but I probably would use RTFIFO's in regards to LabVIEW RT and determinism.
  9. It seems like your approach will work. I wrote a different version of your method using only queues and no user events. The wait function in the proxy loop can be removed without problem. I just kept it to be consistent with your implementation. http://forums.lavag.org/index.php?act=attach&type=post&id=5718http://forums.lavag.org/index.php?act=attach&type=post&id=5719 (LV8.0) Let's not forget that an event structure is just a queue after all. I like queues over event structures because you can see the inner workings. Your producer event is basically an unbounded queue which is what I've created in my example. In order for all of this to work, you need to make sure the proxy loop is much faster than than the producer loop. Otherwise, your producer queue or user event queue will continue to grow in size because the proxy cannot keep up in the dequeue process. What I would like to see from NI is a feature/switch/setting in the dequeue function to allow us to remove a range of elements at once instead of one at a time (return all elements). Then there would be no need for a proxy. The dequeue would remove the number of elements available. Edit: Well, now that I think of it, this is currently possible with the Flush Queue function. Perhaps this is the solution here. Not Sure
  10. QUOTE(yen @ May 3 2007, 11:13 AM) The server is the fastest it's ever been. It's a dedicated machine. There is room for upgrade but it's already at about $109US a month which is about breaking even at the moment. Also, we are located in North America so regardless of speed your location will also be a factor. I'm wondering what feature of the NI forums makes it better for viewing a large number of posts? can you elaborate?
  11. You can open multiple copies of MAX. Perhaps this will fulfill your use case.
  12. QUOTE(Noxious @ May 2 2007, 07:36 PM) Perhaps it's not practical in your situation, but essental. I can't think of any other way to connect to a database without a driver of some sort. The MYSQL driver comes with an installer. Do you have an installer for your LabVIEW application already?
  13. We are NOT going to implement a reputation system. This was an old thread that was dead and now resurected. We will not implement any type of voting system either. Please see here for my response on other issues raised in this thread.
  14. QUOTE(yen @ May 2 2007, 12:41 PM) This is out of the question. All are welcome here on LAVA. I don't want to exclude anyone. Some may want LAVA to be an exclusive club but quite frankly, if it comes to that, it will cease to be interesting for me. In addition to that, the forums will die because everyone will be a lurker reading Tomi and AQ's posts on Greek philosophy.This discussion is going in the wrong direction. My original comment was not to HH's or newbies. It was directed towards the forum regulars. Be nice! We all already acknowledge that Homework Huster's are not liked. Fine, that is an issue separate from all other. Other than that, ALL other questions are welcome whether they be simple or complex. I am the first to post stupid questions here on LAVA. If we don't then NI will never fix the problems that plague new users of a feature. Remember, we are all new when it comes to the introduction of new features regardless of how long you use LabVIEW. There has been discussion of forwarding new users to the NI Forums. Again, the wrong attitude. I mean, if that doesn't sound like "we don't want your kind here" I don't know what does? Forwarding people to the NI Forums is not acceptable. Links to solutions or key examples/articles are fine but a general "brush off" to the dark side is just wrong and insulting. In order to put a closure to this discussion, I am implementing the following policies/procedures: Homework Hustlers are not allowed on the Forums. No exceptions. If you think a certain post is a homework hustling type question. Click on the report post to moderator button. This is the only recourse available to you. DO NOT respond to the post. You are not a moderator and posting negative or disrespectful comments will be considered abuse and results in a penalty by suspension of your account for a period of 2 days. If a post has been determined to be a Homework question, the guilty party will be contacted via PM and a clarification will be requested. If the issue is still not resolved to the satisfaction of a moderator, then the users' account will be deleted and all their posts removed. In general. Do not post comments to any discussion about how the user will be better off on another website or forum. Any comments that imply that the original poster is not experienced enough in LabVIEW or should not be on LAVA is considered disrespect and follows the same 2 day suspension penalty. Moderators: Only the moderators are authorized by the LAVA Forums to perform any user account suspension/deletion, post editing, post deletion and post moving. In addition, only moderators can decide if a post is a Homework question. Moderators do not read every post. This is impossible. Please use the report post to moderator button to bring anything to the attention of a moderator. Posting in the wrong forum. Do not respond to a post located in the wrong forum to let the user know it's in the wrong forum. This is the job of the moderator since they have the power to move the post. Again, please use the report post to moderator button. Making comments of this fact is considered impersonating a moderator and is not acceptable. Spam: If you think a specific post is clearly spam use the report post to moderator button. Replying to such posts only adds visibility to them and makes the problem worse. Personal Messages: Do not use the personal message (PM) system for LabVIEW technical support, dating, abuse or LabVIEW SN requests. If a member reports to a moderator that their PM inbox has been abused(for any reason) then the abusers' account will be suspended for 4 days. Member's privacy regarding moderation decisions. All moderator decisions and outcomes (suspensions, deletions etc) will be kept private and confidential. This will allow offenders to recover from what may possibly be a mistake or error on their part. I will add these rules to the [wiki]Forum Guidelines[/wiki] as soon as I can.
  15. I am aware of this issue but didn't think it was critical enough to fix. Now that it's "noticed" I guess I have to fix it now...
  16. See here: [wiki]Converting a Sensor Voltage Input to Physical Units[/wiki]
  17. QUOTE(crelf @ May 1 2007, 10:07 AM) Yes, exactly. Members should always use this feature any time they want my attention drawn to a post. I can't be everywhere but the Report Button is the most effective.
  18. This issue is now resolved. Sorry about that.
  19. QUOTE(tcplomp @ May 1 2007, 12:07 PM) tcplomp let's not confuse the issue. LAVA Forums only has one RSS feed and it's working fine. The others you cite have been discontinued for months. The only LAVA Forums feed you should be using is => http://forums.lavag.org/index.php?act=rssout&id=8crelf It appears that an older Blog post of yours is not generating proper XML output thus breaking the feed. I'll look into it more. I've sent a support request for this issue. It should be resolved soon.
  20. The blog is not offline. It appears to be a RSS format issue since FF loads it fine. I'll look right into it.
  21. It's very simple to enact a policy that bans homework type questions if we all agree. If any slip through, a simple PM to me and their post and account is removed.
  22. Now this is a good candidate for an XControl if I ever saw one.
  23. QUOTE(Val Brown @ Apr 30 2007, 06:34 PM) What you are describing is a complete application on its own. This can definitely be encapsulated into a single VI. If you need to use this functionality then you can call the VI and embed it into a subpanel. Why not?QUOTE there are shortcomings to using XControls in real world I disagree with this. If you ever have to use multiple property nodes to manipulate and customize a UI then this is a good candidate for an XControl. You are not manipulating hardware, you are manipulating UI components based on user interaction or possibly interlock conditions. Based on my experience, manipulating UI's to handle users takes 10 times as long as hardware communication. XControls allow you to reuse this UI code. Having stated all this, it does not mean you cannot implement hardware interaction or tasks that take a little too long inside of an XControl. You can always launch parallel process VI's for that. This requires a little more effort on the part of the programmer and is not a built-in feature of XControls.
  24. QUOTE(Val Brown @ Apr 30 2007, 05:26 PM) I don't mind working on this however, the requirements seem vague. The XControl should not actually implement any of the functionality. XControls are mainly for UI implementations. What does your data type look like? You say you want Stop, Play, Pause but you can just as easily assemble this inside a cluster typedef. One thing I can think of is a Play button that after being pressed, turns into a pause button. I think we should work on the requirements first: Must have a Play, Pause, FF, FR button Play button will turn to pause after it's pressed. Should have a progress indicator. Progress of what? Music? QUOTE(tcplomp @ Apr 30 2007, 06:17 AM) Yes it is kind of dissapointing only one XControl made it into the Code Repository. Dissapointing but not surprising. XControls are not easy to master. BTW, I'm giving an XControl presentation at NIWeek this year. Those that are afraid of XControls should attend.
  25. Ok, it turns out that this is a preset program without any smarts to identify the proper movements. Just a movement experiment. Works well...
×
×
  • Create New...

Important Information

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