Jump to content

Yair

Members
  • Posts

    2,869
  • Joined

  • Last visited

  • Days Won

    44

Everything posted by Yair

  1. Using it for a CD is not a problem. The bigger problem is flash drives, because they don't all identify themselves as CD drives, so Windows does not autorun them. My experiment in the past was to (successfully) include my program as the default program in the menu you get when you plug the drive in (and there should be more details in the thread I linked to). In any case, my question was actually about the installer John created and on how it helps.
  2. QUOTE(Thang Nguyen @ Jun 22 2007, 06:55 PM) Seems fine to me. The chart starts with the current time, but since it's empty (you give it an empty history as well) it shows 10 years forward (I guess that's the default). When you add data, this should change. As I mentioned, I prefer graphs, which also allow you to have different gaps between the points.
  3. So what is your actual problem? You want to open a door using LabVIEW? What kind of door? How big? Do you want to know what kind of hardware to use and how to control it?
  4. I don't think the USB modules have an internal timer, so the timestamping will come from the OS anyway. As mentioned, it can be used to do this, but it depends on the speed and the determinism (which you can't get in Windows anyway).
  5. I am not entirely clear on whether you are planning on making a security system for a real home or for a doll house, but in any case, the application you are describing is a simple one. If you don't know how to do it, you should not be building production systems (especially not security related ones). Instead, you should start by searching the web for some LabVIEW tutorials or you can call NI and see about joining one of their courses.
  6. QUOTE(Michael_Aivaliotis @ Jun 21 2007, 11:38 PM) QUOTE(Omar Mussa @ Jun 21 2007, 11:39 PM) I just passed my CLA, too :beer:
  7. The properties you want are XScale.Offset and Xscale.Multiplier. Offset is the time when your data starts (as a DBL) and Multiplier is the number of seconds between each two points on your chart. Once the chart knows when the data begins, it can display the correct time. A better option might be to use a graph instead of a chart.
  8. Have a look at the ActiveX object attached here. It has an example. Also, be sure to add the line HideRootWindow=True to your application's INI file, so that it hides the second window you get.
  9. If I search from the search box in the bottom part of the specific forum the results are in, it works, but if I click the Forum Search link at the top of the page, it only returns the recent thread. In general it would have been nice if the search was more advanced. For example, the ability to search for posts from a specific user, the ability to narrow the results by time, having a page where you see all the options (like Google's advance search), having the link actually take you to the post where the text of your search is. Is it possible this is another FF\IE issue? I guess I will have to check it in FF.
  10. QUOTE(h1voltage @ Jun 21 2007, 04:47 AM) Probably not. People may have done this for specific situations, but unless you have to squeeze every last microsecond from your CPU you usually focus on making the code cleaner and on the big speed\memory improvements, which are fairly standard. NI probably does benchmarking as part of their R&D process, but I doubt they would make that public. BTW, that application note I mentioned is app note 168.
  11. And, whatever you do, stay away from the 5th dimension! Don't even think of going there! It will suck you in and not let you out, so be sure to avoid it at all cost! Avoid all links, because they might lead you there.
  12. Still sucky. I was reminded of this thread, so I tried looking for it. "Mel", "Kermit" or "Rogers" could not find it. In the end, I went into Google and searched for it and immediately found it. Is it possible the old posts are not properly indexed?
  13. QUOTE(hooovahh @ Jun 20 2007, 03:58 PM) I think we might have alfa's second victim (after http://forums.lavag.org/Couple-messages-t2985.html#2' target="_blank">Colin). Simply put, you've been had. alfa's posts are junk and always were. The only possible courses of action are to ignore, make a good joke or attempt to intervene with something intelligent. In this last case, alfa's ramblings are so disconnected from any relation with reality that they stand on their own right and don't need anyone to make a joke about them. P.S. The part about the Chinese - many saying are attributes to ancient Chinese wisemen, but apparently not this one.
  14. QUOTE(Michael_Aivaliotis @ Jun 20 2007, 10:56 AM) Been looking at a lot of Ajax interfaces recently?
  15. QUOTE(h1voltage @ Jun 20 2007, 01:23 AM) LabVIEW uses an algorithm called the inplaceness algorithm which is used to decide when LabVIEW can avoid making a copy of data which is found on a wire and instead schdule the execution in such a way that it can use the same buffer for more than one operation. Since memory allocation is expensive, this is an important performance enhancement. Have a look at http://forums.ni.com/ni/board/message?board.id=170&message.id=191622#M191622' target="_blank">this thread for an example of how changing a subVI can affect the memory allocation in the caller. LabVIEW used to ship with a white paper about performance and memory management (available through Help>>Search the LabVIEW Bookshelf), and that had some more examples and details, but I don't know whether it still ships with it. It's probably available on NI's site as well.
  16. QUOTE(Val Brown @ Jun 20 2007, 01:28 AM) http://forums.ni.com/ni/board/message?board.id=170&message.id=231915' target="_blank">Here. It shows a basic example. Incidentally, the easy way to find something like this, since I mentioned it was in one of the OP's other threads, is to click the user's name and select the option for viewing their threads.
  17. I don't think you can change that. I believe that's hard-coded into LabVIEW. I believe you can however add your VIs to the File>>New dialog by adding them to the LabVIEW\Templates directory (although you might need some playing around). The front panel is too BIG for you? I (and most other LV developers) use the 4-2-2-4 connector pattern and use the bottom two for error clusters, which take up room on the FP and I suggest you do that as well, because it's a convention and because the error cluster is important both for the data flow and for error handling. If anything, the FP should be bigger, not smaller.
  18. Welcome to LAVA. :thumbup: Just don't make Colin's mistake.
  19. There are two issues with your timing - one minor and one more significant. The minor issue is that there is no gurantee that the timing VI will run before the loop starts. This is minor because at most you will miss a small number of loops, but it's still wrong. The more significant issue is that you are timing both pieces of code at the same time which is bad, because you have no way of knowing what the LV scheduler will do. You should test them under equal conditions, meaning having a seperate VI for each. When I did that, the formula node was still faster, but by a smaller margin. I could see how in certain conditions adding a subVI could improve speed, because the algorithm responsible for allocating memory might decide to reuse a buffer instead of duplicating data, but I would expect that would only be under fairly rare circumstances.
  20. QUOTE(Ben @ Jun 19 2007, 08:53 PM) Or with a picture of Kermit (ducking to avoid the hail of rotten tomatoes).
  21. Yair

    Scarry...

    QUOTE(Ben @ Jun 19 2007, 04:04 PM) :laugh: QUOTE(hooovahh @ Jun 19 2007, 05:47 PM) For those of you that are deprived and don't know what I'm talking about, here's a nice montage some one made with the war of the worlds (never seen it) So, why doesn't the tripod go "Ulla"? (for those who don't know it, Ulla is the rather ridiculous sound the fighting machines make in the otherwise excellent musical version of WOTW made by Jeff Wayne. I believe it's from the book, but it still sounds weird). QUOTE(Justin Goeres @ Jun 19 2007, 08:27 PM) I would refactor it and add some semaphores. Possibly queues, also. Semaphores have the traffic light icons, so they would be more appropriate.
  22. If I remember correctly, editing controls is not exposed through the scripting interface, but working with WMF is demonstrated in the thread I linked to in one of your previous threads.
×
×
  • Create New...

Important Information

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