-
Posts
835 -
Joined
-
Last visited
-
Days Won
49
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by MikaelH
-
content from a password protected WEBsite
MikaelH replied to kohle's topic in Remote Control, Monitoring and the Internet
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 -
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
-
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
-
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
-
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
-
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
-
Way to open file dialog in Windows 'detail' mode?
MikaelH replied to Jon Sweeney's topic in Calling External Code
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 -
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
-
Problems building exe with LVOOP
MikaelH replied to billings11's topic in Object-Oriented Programming
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 -
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
-
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
-
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
-
save pdf file from website
MikaelH replied to lelluzo's topic in Remote Control, Monitoring and the Internet
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 -
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
-
You could also try Brians blog LabVIEW Performance and Memory Management http://openmeas.blogspot.com/2007/06/labvi...and-memory.html //Mikael
-
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
-
Hi You could also use the flatten to string. http://forums.lavag.org/index.php?act=attach&type=post&id=6389 Cheers, Mikael
-
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
-
LabVOOP Article - Reusing Code by Inheritance
MikaelH replied to Tomi Maila's topic in Object-Oriented Programming
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 -
LabVOOP- User defined Class Wires...
MikaelH replied to LAVA 1.0 Content's topic in Object-Oriented Programming
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 -
RFC: An icon glyph for "abstract" for LVClasses
MikaelH replied to Aristos Queue's topic in Object-Oriented Programming
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 -
RFC: An icon glyph for "abstract" for LVClasses
MikaelH replied to Aristos Queue's topic in Object-Oriented Programming
I manage to get the project add-on tool do this: Cheers, Mikael -
RFC: An icon glyph for "abstract" for LVClasses
MikaelH replied to Aristos Queue's topic in Object-Oriented Programming
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