Jump to content

MikaelH

Members
  • Posts

    835
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by MikaelH

  1. I'm updating this topic, since it bugs me so much that I can't have the Project Explorer open while editing my larger VIs. I just looked at my Quad Core CPU usages when I just added a simple DBL wired to an ADD-node What is causing the Project Explorer to use so much resource? //Mikael
  2. Hi I've never tried using a Cluster into the Dynamic Event Terminal to the Event Structure. So I tried it and it didn't work properly, did I just find a bug... The VIs should switch the Booleans On/Off when mouse enters/leave the controls. But the Cluster Event doesn’t work for button: Hover Over 2 This is in 8.6. The normal way of doing it, which works. Event2.vi Using a cluster It doesn't work. Event1.vi Cheers, Mikael
  3. Here's an example of one of my current applications. VIs in the Highest layer is only allowed to call VIs located in the same layer or one layer below, i.e. not call VIs in the lowest layer. VIs in the second layer is only allowed to call VIs located in the same layer or one layer below, i.e. not call VIs in the top layer. //Mikael
  4. To be sure you get the right Identity/ID/Identifier of a recently inserted row, you should call execute this query: MSSQL: SELECT SCOPE_IDENTITY() do not use the SELECT @@IDENTITY command it can give you unwanted behavior. http://msdn.microsoft.com/en-us/library/ms190315.aspx MYSQL: SELECT LAST_INSERT_ID() Cheers, Mikael
  5. I'll be there Sorry to here, it would be nice to meet you, some other time then :-)
  6. Hi Have you considered using classes? Often when I want tasks running in parallel, I think about using 2 loops in my main VI, producers/consumer, but then I realize that I probably will need more parallel loops in the future. So I go with a spawning VI for every parallel task I want to use. So if you like to know how to get started you can watch these videos and download this code: http://goop.endevo.n.../DesignPatterns http://goop.endevo.n...videos/Debugger http://goop.endevo.n...er/Debugger.zip If you want to use the GDS tool you can download it here. //Mikael
  7. Sure, I'm interested in helping out. The problem is always to be able to create something that have enough flexibility and doesn't become too big for people to add to their projects. I can help out in Architecting, Developing and Tooling areas. I have a function in GDS to add design patterns to existing classes and I can see this is a similar function. If I understand it right, one user scenario could be that I like to create a Database class. I then use a tool, to create this Database framework. If this example I called the Framework “ .LabVIEW “ Cheers, Mikael
  8. is booking my trip to NI-week 2010

  9. Hi again Here is our next version of DVR class template. This is a simple one and simular to what many of you already have tried. GOOPRef2.zip Cheers, Mikael
  10. Yes, when I implement support of creating a new class template I also create the support of analyse these classes. I'm aiming for Ni week, I let you know when the first beta release is ready. This template will be available for GDS 2009 and up. But I need feedback and support for a template like this to get it into GDS. We are thinking about different templates, this more advanced version and a more simple one. For the advanced one, I'm planing to create a converter of EndevoGOOP 3 classes to this new class template. Cheers, Mikael
  11. Hi all OO fans out there. I like to post some reference (DVR) class template and hopefully get some feedback on these. I like to find some different templates to implement and release with the next GDS version that will be 2010 compatible. This template I’ve attached here is a DVR template that has the same function as the current EndevoGOOP3 template. E.g. -Named Object (So you can implement Singleton Design pattern) -Class Attribute, this is some data that all objects from the same class type share. -Debugging of classes. You can get the DVR reference to stay alive even if the Create method of the class becomes idle. This makes it easier to debug a single method, since you can run it over and over again until you’ve fixed your bugs. I’ve created a project containing a Base class and a Sub class and an Example Vi that tests the different aspects of the class templates. The fundamental thing about this template is that all objects inherits from a Root base class. Please have a look at the design and give me some feedback if you have time.<BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break"> To try the debugging of the DVR objects, you need the latest verion of GDS, try this beta version: http://goop.endevo.net/GDS/GDS_P9U_2009.zip Cheers, Mikael GOOPRef1.zip
  12. Sure I can help you. Please give me more information. You can click on the warning triangle in the lower right corner and send me the Error Text. You can also run the latest Beta version and see if that helps: http://goop.endevo.net/GDS/GDS_P9U_2009.zip http://goop.endevo.net/GDS/GDS_P9U_86.zip http://goop.endevo.net/GDS/GDS_P9U_85.zip //Mikael
  13. Let's see if this image looks better: How it works better... The \00 is the NULL chracter, you have to switch to '\' Coded Display, to get it working. This is the string you can use to tweak the File Dialog bevaviour. *.txt;*.doc;*.html)\00*.txt;*.doc;*.html;\00Image\sfiles\s(*.png;*.jpg)\00*.png;*.jpg\00\00 I'm not sure why it works, and if it always will be supported but it's quite good feature. //Mikael
  14. This is how I do it: Click on the image to view it better. Cheers, Mikael
  15. If you want to use a udl file. Just create an empty file and name the extension to udl, and the dubble click on it. I use the user.lib\LabSQL tool for this, which in my opinion is the fastest way to connect to a database. Have anybody else got a fast way of accessing SQL databases? //Mikael
  16. I can't find a good way of converting a 2D mouse point to a estimated 3D point. But I suggest that the user gets X and Y diretional buttons to control a cursor to the right point they want to select. Cheers, Mikael
  17. Hi Trin I don't have the full solution for this but I've added a VI that shows how to mark certain points of the graph using cursors. I was hoping there were a invoke node that converts a 2D coordinate position to a estimated 3D position, but this invoke node method don't exist. I guess you have to make a first guess, and then give the user 4 direction buttons so you can move the cursor in the X-Y direction. 3D-PlotCursor.vi Cheers, Mikael
  18. Hi I haven't tried it in a C# application but it should work just fine. It should be included in Measurement Studio. I did use the DataSocket Active-X component straight in a web-page a while ago and that worked great. Of cause I had to allow to run an Active-X items in the browser. I also added a NI-Graph component on the web page and the Data Socket updated the graph every time a value was received. At that time (2000), it was impressive to see a web page updating in real time. Cheers, Mikael
  19. Thanks Guys It’s always nice to see that I’m not alone out there I’m using 8.6.1, and also lvlib’s containing classes. I would guess it has something to do with Dependencies or Error Checking. I’m keen on creating a big dummy projects and submitting it to NI to see if they can figure something out. If they managed to find a solution for LV2010, I promise I’ll be the first to upgrade ;-) Cheers, Mikael
  20. Hi Sometimes the response time when editing a large VI gets soooo long. I can easily see it on the mouse cursor when I move to different object and would expect the cursor to change, but it takes 3-5 second. Am I the only person to experience this? I have a powerful PC, so that’s not the bottle neck. It’s like LV decides to recompile the whole VI and do a complete Error Check of all code in the project. If I restart LabVIEW it looks like it becomes faster for a short while, then it’s back to be frustrating slow. So I tried to open my main VI direct, not using the project, and then the response was fast. I do use lots of classes. Any ideas? Have you experienced the same? Cheers, Mikael
  21. Noop...but maybe NI will let us do that someday.
  22. I’ve really pushed the limit of sub panels in a LV app, and haven’t had any problems. I’ve attached an example that uses a grid of sub panels, and in every sub panel I insert an active object of different types. Cheers, Mikael SubPanels.zip
  23. When you place controls on the Front Panel you can tell LV who the Parent is. So first you need to get the control (the only control found on the Front Panel) reference for the Cluster, and then use this ref as parents for all attributes. FYI, the GDS tool has an API interface to do this and it also has XMI support,if you are interested to try it out let me know. Cheers, Mikael
  24. Hi We're about to release a new version of GDS, that has better support for 2009. You can download a beta version here: http://goop.endevo.net/GDS/GDS_P9S_2009.zip Cheers, Mikael
  25. For them who doesn't not it. There is a build function in LabVIEW to swap two wires connected to any 2 input function. Just use the wire tool and press Ctrl+click. //Mikael
×
×
  • Create New...

Important Information

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