Jump to content

MikaelH

Members
  • Posts

    835
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by MikaelH

  1. QUOTE (Michael_Aivaliotis @ Aug 2 2008, 10:59 AM) That text is copied from the LV 8.6 Feature and changes: http://lavag.org/old_files/monthly_08_2008/post-941-1217641608.png' target="_blank"> ..I like the VI file size improvment. All VIs are now half in file size. :thumbup: Cheers, Mikael
  2. QUOTE (Eugen Graf @ Aug 2 2008, 04:12 AM) We do so, our reusable library consists both of single VIs and classes and we place them all in the user.lib, we also have that folder under version control. //Mikael
  3. Hi I just came back from New Zealand where I held the OO course in Auckland at a company. During the first day of the course I go through the principle of OO-Design and Analysis and objects by flow and references. The second day we create a whole test system application from a problem description, using UML class diagram and then we implement it. I like to customize the course as much as possible depending on the student needs, so I normally like to know what kind of systems the students are developing. Cheers, Mikael
  4. I'm using AutoIT-scripts compiled into exe-files that I run from LabVIEW. http://www.autoitscript.com/ //Mikael
  5. QUOTE (crelf @ Jul 19 2008, 03:04 AM) I can confirm the rumour :-) Since I'm teaching it. The course is on Sunday and Monday, so YOU won't miss the any of the NI-week days. Cheers, Mikael
  6. Hi I've made a quick UML diagram of how I would have solved the design. When I get more time I'll try to give you more feed back. Remember that all base class methods should makes sense to the child classes. Cheers, Mikael
  7. Hi Gustavo I've created dot net code that I call from LabVIEW without any problem, I also got the dot net code to invoke a VI when special event happens that the dot net code is controlling. I don't really understand what you are trying to achieve. But just to be sure, have you opened/called a constructor of the dot net class before you used it? You can create several constructors for a dot net class, the constructor in the example below takes 3 arguments. Cheers, Mikael
  8. Hi This is the design your leaning towards: I would probably use a composite aggregation, which means I would have to solve the creation of the correct I2C object internally in the battery create methods. Using this way it makes it easier to use the battery class, as you don't have to worry about the communication interface. Of cause it will be harder to develop the battery class but you top VI will be simpler. For the I2C communication I would probably not do an active object design to start with, I might use a static attribute in the I2C-Implementation classes which I use to synchronise the read and write to the batteries so I don't run into any race conditions. Good luck
  9. QUOTE (Paul W @ Jun 13 2008, 04:26 AM) If run into strange problemslike this, you could always open the lvclass-fle in a text editor and try to modify it manually. Remove this line: <Property Name="NI.LVClass.ParentClassLinkInfo" Type="Bin">....................</Property> and the reopen the project. I always use the GDS function "GOOP->Modify this class inheritance", to do this, but in your senario it can't solve your problem. //Mikael
  10. You can use the Connectivity->Input Device Control-VIs for this. E.g. Download File:post-941-1213217744.vi Cheers, Mikael
  11. QUOTE (Aristos Queue @ Jun 5 2008, 06:40 AM) When I read this I started to think about the "Paper Clip" Whould it be nice if NI added it in LabVIEW http://lavag.org/old_files/monthly_06_2008/post-941-1212705172.png' target="_blank"> Cheers, Mikael
  12. QUOTE (dispossessed @ Jun 5 2008, 03:06 PM) ...maybe you should look at GigE Vision: GigE Vision: Under the Hood Video --Mikael
  13. QUOTE (Jim Kring @ May 28 2008, 04:42 AM) Hi I hope NI will abandon the LLB structure they are using in the exe-file or at least add folder support in the a LLB, this will make it possible to store everything inside the exe-file. One other painful thing I have is that a quite large application, with lot of classes and lvlibs, it takes me more then 30 minutes to build an executable and during that time I can't use my computer for something else, since LabVIEW uses all my resources. Cheers, Mikael
  14. So you have to do this in your code then... Maybe it's because LabVIEW supports foreground and background colors for colors in development environment, and the Color Boxes gets 2 event one for the foreground and then one for the background color. //Mikael
  15. QUOTE (Yen @ May 22 2008, 02:54 AM) I did a test right now. http://lavag.org/old_files/monthly_05_2008/post-941-1211425248.png' target="_blank"> ..and when sitting at the office and accessing my local network at home, it took 1448 ms per image. So on the same local network you should probably be able to get 2 images per second. You might need to use normal TCP/IP function so you don't need to reconnect every time, and use a normal HTTP Get command. //Mikael
  16. Hi Jim I had these problems when adding drag support from the Project Tree to my UML modeller. I had to solve it by using the Input Device Control VIs. This code will do the first part: -Know when the move is over the Path Control. Download File:post-941-1211341397.vi -The next should be to check if the button was pressed, when you entered the VI (drag started outside VI) -Check for button released. -Then you'll get the Path-Value change event. But of cause you like to check the content of the dragged file before, the user releases. E.g. Flag that the file has the wrong format and can't be dropped here. I guess you have to use some windows API to get the content of the dragged file. Good luck, //Mikael
  17. I use a web based camera and uses the Data Socket VIs to download the image from the cameras. Camera: Code: URL: --Mikael
  18. FYI, I have the user.lib under version control, and then the .svn folder appears in the function palette. But by selection the Tortoise Option: Use "_svn" instead of ".svn" directories , I've solved that problem. //Mikael
  19. QUOTE (Yen @ May 20 2008, 03:38 AM) The Endevo GOOP2, is pure LabVIEW without lvclasses, just like Sciware GOOP so that should work. //Mikael
  20. Hi Tomi I've used LabVIEW to measure the composite video signal before. But what I never heard anybody managed to do is to generate a composite video signal from LabVIEW before :-) So if you get the fastest analog out card, and a real fast computer you could generate your own video signal and feed it to a TV :-) That would be something to show at NI-week! Good luck //Mikael
  21. Here is the 8.2 version Download File:post-941-1210800230.zip --Mikael
  22. QUOTE (Christina Rogers @ May 14 2008, 05:59 AM) This is the way I've implemented it and linked it to TortoiseSVN http://lavag.org/old_files/post-941-1210716158.zip'>Download File:post-941-1210716158.zip Cheers, Mikael
  23. Hi Tomi I've experiensed the same kind of effect, when I run a convert application from EndevoGOOP2 to EndevoGOOP3, the project I tried to convert took 65 hours, and it spend a couple of minutes each, when saving a modified dynamic dispatch VI. I guess your Save All, is about to save that kind of VI... I would start by right click on the classes one by one and select "Save All(this class)", and you could also try to open one class (.lvclass) at a time. And then "Save All(this class)", this approach has help me a lot. You could also try to remove all inheritance links among your classes, save all, and restore the inheritance. Cheers, Mikael
  24. I have had to use the "Deallocation VI", in one of my current test system. But I also needed to increase the memory to 3GB for LabVIEW to use. It's a simple switch in the "c:\boot.ini" file. [boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect [b][color="#ff0000"]/3GB[/color][/b] You can read more about this in the section "Enhancing Virtual Memory Usage" in the LabVIEW help Contents: "LabVIEW 8.5 Features and Changes" Cheers, Mikael
  25. What I'm missing in LabVIEW is the ability you get in .net using Measurement Studio. Where you can override any calls to the Graph, e.g. When a plot point gets drawn you can check for some criteria and just change the color or shape of the point. --Mike
×
×
  • Create New...

Important Information

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