Jump to content

MikaelH

Members
  • Posts

    835
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by MikaelH

  1. A normal POST is done like this: http://forums.lavag.org/index.php?act=attach&type=post&id=6665 POST /cgi-bin/somefile.pl HTTP/1.0 Host: ni.com From: me@ni.com User-Agent: HTTPTool/1.0 Content-Type: application/x-www-form-urlencoded Content-Length: %d <MESSAGE HERE> //Mikael
  2. I can really recommend it. With one large project with plenty of classes I hade one problems at all. But with another project I had to do some changes due to Invoke node interface changes. The Invoke node was "App:LVClass.Create" and the Invoke node ProjectItem:AddItem don’t allow an unnamed LVClass type. //Mikael
  3. Thanks Stephen. Yes that will work and solves my Clone use case, but you're not actually converting the ParentClass Data wire to a Child data wire. But maybe this is not needed, but it could look like this. http://forums.lavag.org/index.php?act=attach&type=post&id=6662 Here is also another clone project: http://forums.lavag.org/index.php?act=attach&type=post&id=6663 Thanks //Mikael
  4. When you talk about casting to more specific, I like to add a wish of Type Cast for LV objects. Maybe this is impossible for LabVIEW to support due to its OO design, but what I'm after is to convert an object of one type to another sub class type. E.g. First create a Graphic object and then Convert it to a Line Object. Like this: Line MyNewLine = (Line) MyGraphicObject Why would I like this? I use this method right now (using the Endevo GOOP Inheritance toolkit) when cloning an object. In this example I would like to do this: Class ClassNode{ … Public Clone() { ClassNode MyClonedObject= (ClassNode) super.clone(); … return MyClonedObject; } … http://forums.lavag.org/index.php?act=attach&type=post&id=6657 //Mikael
  5. Hi I've updated the examples to show you have to create a dialog box with shadow effects. I'm using a transparent png background picture created with GIMP. http://forums.lavag.org/index.php?act=attach&type=post&id=6621 (LabVIEW 8.2.1) //Mikael
  6. QUOTE(Ben @ Aug 14 2007, 07:11 AM) I had the same problem using a USB-cDAQ. I wanted the design (lots of analog and digital sensors), to be independent from each other i.e. one object per sensor. But due to the limitations of the USB-cDAQ drivers, I created a Singleton, Daq reader object. That all the sensor objects requested information from. When the sensor objects requested data they could get the last value, or force to wait for a new updated value. They could also request an average value from the last x samples. This could be done since the Daq reader object, stored the last acquired values in a circular buffer. This design requires that the Daq reader object, knows the fastest sampling time, so each object (when they were created) told the Daq reader object it's fastest sampling time. //Mikael
  7. That's why I drag these types from the windows explorer window instead, then it works. //Mikael
  8. I guess you have to modify the registry (somewhere), before opening the dialog :-( You might try .net calls instead. http://www.vi-lib.com/user.lib/OpenFileDialogBox.html Maybe there is a way to solve it that way. //Mikael
  9. George I've seen timed loops in some cases just stop for a while and then get going after a while. (that's why I try to avoid them ;-) I don't know if this could be your case. But you could try to use the old fashion while-loop, and measure the loop time for every loop and see how long time every loop take. Mikael
  10. I have had the same problem when building executables. NI knows about my issues and have fixed these bugs for the next version of LabVIEW that they are working on. But the work around I had to use was to include the block diagram in the executable. You do that by enable the "debug" option when you create the executable. Did this solve your build problems? //Mikael
  11. Hi I'm working an the feature to drag project items from the project explorer window into a running VI. I've got it working in the VI attached but it might be better ways. Do you have any ideas? http://forums.lavag.org/index.php?act=attach&type=post&id=6475 I'm lookin into adding this feature in the UML modeller I'm working on. It will be demonstrated at NI week during Jan Klassons presentation: "Graphical Systems Modeling Using the Unified Modeling Language" This tool will be shipped with next version of GDS (GOOP Development Suite), and the community/professional edition will be released a couple of weeks after NI-week. Cheers, Mikael
  12. If you use the Tick Count (ms) instead you get a better result http://forums.lavag.org/index.php?act=attach&type=post&id=6473 //Mikael
  13. Hi Chris and Jim Ofcasue you can get that information... But it's a bit messy ;-) Here's the code: http://forums.lavag.org/index.php?act=attach&type=post&id=6468 http://forums.lavag.org/index.php?act=attach&type=post&id=6469 Cheers, Mikael
  14. That's a "funny" bug. I almost always enter the values direct from the front panel by pressing shift-enter after you entered a value, that will go to the next element right away without having to right click and select "Add item after". //Mikael
  15. QUOTE(lelluzo @ Jul 26 2007, 07:27 AM) Just use the DataSocker Read, and save the file. http://forums.lavag.org/index.php?act=attach&type=post&id=6458 Also see: http://forums.lavag.org/index.php?showtopic=100 //Mikael
  16. Here is a "very" quick update of the DragAndDrop VI, to show how a scroll bar could be used untop of the picture control. http://forums.lavag.org/index.php?act=attach&type=post&id=6443 http://forums.lavag.org/index.php?act=attach&type=post&id=6444 Cheers, Mikael
  17. You could also try Brians blog LabVIEW Performance and Memory Management http://openmeas.blogspot.com/2007/06/labvi...and-memory.html //Mikael
  18. QUOTE(Tomi Maila @ Jul 19 2007, 08:10 AM) Hi Tomi You don't need to have the base class in the project explorer, but it will be loaded into memory anyway since it's refered to. And ofcause all base-class members. The build in function: "MySubClass->New->Override VI" still works, but the GDS-toolkits, "MySubClass->GOOP->Add Method..." don't find which override methods that are possible to create. I might fix this in the next version of GDS, which will be relased after NI-week. //Mikael
  19. Hi You could also use the flatten to string. http://forums.lavag.org/index.php?act=attach&type=post&id=6389 Cheers, Mikael
  20. Hi everyone I just attached a small LabVOOP application created with the GDS tool. http://forums.lavag.org/index.php?act=attach&type=post&id=6099 I used this application to evealuate if LabVOOP supports recursive calls. But unfortunattly it doesn't :headbang: Limitations: First: You can't set a dynamic dispatch method to be reentrant. Second: You can't call a dynamic dispatch VI using the "Call By Reference Node" Cheers, Mikael
  21. Hi Thang I just had a quick look at it, and you're using a named queue as the reference handle, but you have the same handle for both objects. Remove the "FieldPoint" ID Tag to create 2 objects. //Mikael
  22. Hi Chris & Martin When I right click on a class and select Class Apperance, I get this dialog don't you :-) (If you want it make sure to download the latest beta version ;-) Cheers, Mikael
  23. QUOTE(tcplomp @ Feb 21 2007, 12:37 AM) Hi Ton It's a GOOP tool-kit I'm developing for Endevo. I'm using NIs addon possibilities for the project environment. I guess we're the first guys out trying this, and it's looking very promising. We have a beta version out for testing right now, and a release will soon be available at: http://www.endevo.se/' target="_blank">www.endevo.se Cheers, Mikael
  24. I manage to get the project add-on tool do this: Cheers, Mikael
  25. I'm working on implementing this in our(Endevos) GOOP Tool, it will probably look something like this. It's currently under beta testing and will soon be out there Cheers, Mikael
×
×
  • Create New...

Important Information

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