Jump to content

Michael Aivaliotis

Administrators
  • Posts

    6,203
  • Joined

  • Last visited

  • Days Won

    111

Everything posted by Michael Aivaliotis

  1. QUOTE(Dave Graybeal @ May 9 2007, 08:11 AM) I'll look into it.
  2. There is no such thing as a Global constant. Globals exist in only one form. They are nodes that are placed on the diagram. In the Functions palette>Programming>Structures>Global Variable. After placed, double-click on the black node to open the Global front panel to place your data type controls.
  3. Click here to try LabVIEW Just found out from this post that NI has setup an online method of running and executing LabVIEW with 3hr time slots. This is freakin' cool! It's an actual personalized VMWARE image on a Windows machine that is created just for you! I just went and tried it and have learned this: Initial startup is slow because your computer needs all the Java stuff loaded. Subsequent startup takes about 3 minutes. With every new login, you get a fresh 3 hrs. It worked fine in IE7 and FF2. The trial machine has access to the internet which means you can actualy program something, zip it and upload it? Why would they allow this? http://forums.lavag.org/index.php?act=attach&type=post&id=5810 Of course, after this post, I'm sure we're gonna crash the servers... . Watch NI cripple it after this announcement . I can see this as a useful tool to use when you don't have LabVIEW installed on your computer. I guess the question is, why wouldn't you have LabVIEW installed? Edit: It seems this all runs a bit quicker in IE7.
  4. QUOTE(BrokenArrow @ May 8 2007, 05:44 AM) This is testing my memory since it's been a while with 5.1. I had it installed here but took it off for lack of HD space. I would rename the Serial Port Write.vi, per loop, see what happens. I agree that you shouldn't bother with massive cleanups at this point. Actually, that might cause even more problems. It sounds like a complete re-write is in order, if anything. I feel your pain, having been down that road too many times myself. I wish I was there beside you to help out... :thumbup: . Hang in there.
  5. You need to use -2 for the Row. It also helps to use DeferPanelUpdates. Also see this: Alternating Row colors in Multicolumn Listbox
  6. Steve Jobs is an iWitch <object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v=xgZKjJt-TkU"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v=xgZKjJt-TkU" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
  7. QUOTE(John Rouse @ May 7 2007, 02:12 PM) I would say this is a bug. Report it to NI.
  8. Well, it doesn't matter that you are using different com ports. The core comm VI is the same so you probably have a blocking situation. I would create a different named comm VI for each loop - along with all the associated subvi's.
  9. Are you referring to a specific vi server method or the general concept of publish/subscribe? I would think that if you create a queue and then dequeue this constitutes a publish subscribe one to one. If you need multiple subscribers then you would have to somehow create an array of queues. When someone subscribes, you add a new queue to the array. The publisher in this case would have to put the message onto all the queues.
  10. I think this is a good article for the LabVIEW Wiki. When does a VI get a recompile? LVOOP and non-LVOOP related.
  11. Not sure, but can this article on [wiki]Insane Objects[/wiki] help track down the problem?
  12. I don't see why your fundamental code has to change. You just need to change the connection method. Actually, you don't even need a UDL. You can just connect with a string configuration parameter. This actually avoids having to setup a UDL/DSN connection on the machine.
  13. Just an update to let everyone know that the LabVIEW Wiki has seen some activity and I am happy that some of you have come forth and have taken the step to contributing to the LabVIEW Wiki. Your efforts are appreaciated however small or large. Recent new articles: [wiki]Error cluster[/wiki] [wiki]Control References[/wiki] [wiki]Converting a Sensor Voltage Input to Physical Units[/wiki] [wiki]Psuedopath[/wiki] [wiki]LabVIEW ini File[/wiki] [wiki]CAR Number[/wiki] [wiki]Uninitialized shift register[/wiki] There were other minor edits not listed here. Also, I have made extensive updates to the Wiki Help for new users. Don't forget to check out the FAQ section as well.
  14. Have you tried this? http://pgfoundry.org/projects/psqlodbc/
  15. 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?
  16. 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.
  17. 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.
  18. QUOTE(i2dx @ May 4 2007, 07:52 AM) Yes, this IS a great tip. My LAVA membership just payed for itself.
  19. 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.
  20. 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:
  21. 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.
  22. 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.
  23. 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
  24. 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?
×
×
  • Create New...

Important Information

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