Jump to content

MikaelH

Members
  • Posts

    835
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by MikaelH

  1. I saw that, but I need it to support normal SVN as well, but that's an easy fix.
  2. I've been thinking about this too, maybe we should get togeather. I reckon it would only take me about a week to do this, but I just need some spare time.
  3. Hi it looks like your getting the hang of OO. You are right you can't use dynamic dispatch when it comes to Singleton Methods. You could use a Singleton Class for handling all your plug-ins. e.g. Load, Start and Stop them But every plug-in has to be a By Value or By Reference class. For plug-in architecture you can find many threads on this here at Lava and NI Forums. Try: http://lmgtfy.com/?q=Class+Plug+in+architecture+in+LabVIEW
  4. Here is an example using inheritance with Singelton made with GOOP Development Suite's GOOP4 DVR classes. You need some kind of reference-base OO design to get Singleton working. But make sure you only use singleton when you know that you only will have one object of that type. Singleton.zip Cheers, Mike
  5. I thought you were referring to the network term CLNS (Connectionless Network Service), but you mean of course Call Library Function :-) I'm avoiding those since I want it to be platform independent. Shaun, I owe you a beer :-) Come by Symbio’s booth at NI-week or catch me at NI-week. You did put me in the right direction to solve the problem. I'm not using any DLLs directly, but I'm using the Mouse Vis in the inputDevices.llb Since These VIs don't work/exists on Mac or Linux, I have to create a wrapper around then and load then dynamically. And just by disabling the code in this VI it worked. I’ll see if I can figure out a different way of solving this.
  6. Maybe some of the other LabVIEW.exe-dll calls can do the trick, but it's hard to figure out how to use is.
  7. GDS or GOOP Development Suite. Have you heard of that? If not, it's the OO add-on to the Project Explorer that make OO in LabVIEW so much nicer. http://goop.endevo.n...os/GDSFeatures/ I have a TCP/IP listener running in the background of the Project Explorer window to receive commands when someone double clicks a file with the uml-extension from windows explorer. (The same way VIPM links the vip file to the VIPM application). I thought this was a probable cause of ii, but even if I removed that code I still got the problem :-(
  8. Thanks for the suggestion, but that didn't solve my problems, any other that have some suggestions? You can win a beer or two at NI-week
  9. Hi Guys I have the strangest LV crash on my computer, that I like to share to see if anybody else has seen this before. It has to do with code (GDS in my case) that is running as a secondary provider to the Project Explorer. I've compiled the same version into all 6 versions of LabVIEW 2010,2011,2012 and 32 and 64 bit versions. The crash only appears in all my 32 bit LV versions, not in the 64 bit versions. LV just crashes when, in my case the UML modeller tries to do a simple tasks as displaying the "File Dialog" to let the user browse for a file. It's definitely something fishy with my computer since it works on other computers. I'm running a high spec Dell Alienware Laptop W7-64bit, 16G Ram. Currently I've had to switch my development to 64 bit LabVIEW to continue. But I'm afraid I have to use the Recover DVD that come with the computer to get it working again :-(
  10. I'll look into it. Normally the mass compile should not come up. But the latest version(4.5) I'm working on works just fine in all version fromm 2010 to 2012. We do have a 4.2 release ready, but we're just finishing up the documentation. //Mike
  11. Why not do it the straight forward way, with a HTTP Get. HTTP_Get.vi //Mike
  12. I would love to come, but I have to bring my wife and kids to NI week this year since her 40th birthday is at this day, but maybe I can tell her that I've booked dinner at a nice romantic Texas BBQ restaurant. Anybody else taking their families to NI-week this year?
  13. If you supply a UML diagram it might be easier to understand your design. I did a similar project a while back. I had an abstract base class called Sensor and sub classes like Temperature Unit, Web Camera Unit. The objects where running as active objects and updating their own sub panel on the Main VI's GUI. I had over 40 SubVI panels that arranged them self when the GUI's front panel was resized. //Mike
  14. And why not do this... PlotImage2.vi ...just because we can.
  15. Why don't you just use the PlotImage.Front property?
  16. I've also needed this option in the past. Do we also need to be able to set these variables for different builds as well. Maybe I would like to build the same Exe File with different values of a variable. Currently I have an application, that changes behaviour depending on the Exe-file name, but it's based on the same Top Level VI. To solve this I would prefer to just change a #Defined variable, this could be solved by the Pre and Post build VIs but I think that would be quite ugly.
  17. In the design, I will let the Form Submit and save the data in the database. The form will be design to fit inside my LV application, so not to be used as a normal web page. When the form is submitted, it will probably just go to a blank page. I can just poll the current URL of the browser, or poll the database to see if the data has posted properly. If the Web-Page likes to send some status information back to me, it could just add that in the new URL page it goes to after submitting the form. E.g. White text on a white background or something similar so the users can’t see it.
  18. I couldn't of course help, clicking at Generate Code from the UML modeller and generate all classes in GOOP4 style, sorry for that AQ. So a reference version would look like this. RefInterface.zip
  19. If you want it to work with VLC, just download the source code and rewrite it to work with LabVIEW ;-) Download latest VLC source code If you want, you can download the source code of VLC media player.
  20. Nice deisgn It made it easier for me to view it UML Cheers, Mike
  21. I tried to see if it worked using the VLC Media Plyer Active X controller instead. But all my LV version just crashes when I try to insert the VLC media player, anybody else that can do this? //Mike
  22. Hi Michael It was a year since you posted this one, but now I'm also facing a similar task. We have a production traceability system, that we both have LV and WebPage GUI interfaces to. For some forms that collects data, it's much easier to use the web interface, since you can dynamically create different types and number of controls. So I need to embed this form into the LV application and wait until the user filled it out. Our first solution we can think of is to Supply a token (unique ID) to the URL and have the WebPage/Webserver save all data and link it to this Token. So if I need to read it later or need transact something else against this data I will just use the token. My first task would be to figure out when the form has been submitted, the 2 solutions I can think of is to poll the WebBroswer.Document.Content and see when the form has been submitted, or I can just implement a WebService function that I call with the Token and it returns me a "FormSubmitted" flag when it's done. Has anybody else a good solution to this problem?
  23. What do you mean with "booting into", and how do you disable CTRL+ALT+DEL?
  24. In our production environment it has never been in issue so far, but you're right anybody can delete the exe file. But I need this for the Automatic update to work. Every time the user runs the application it checks with our Production Database if this software has any updates, and if so prompts for update. It starts another LV-application while the original is closing down and then it gets the new server path from the database and overwrites the local copy.
  25. Hi Ulf We use a Company Specific folder instead of Program Files. E.g. C:\<MyCompany> This folder is pushed from the IT department and gives everybody read and write access to the content in this folder and its sub-folders. Then I place my application under a program folder like this: C:\<MyCompany>\<MyAwesomeApplication> The benefit of placing it here is that when the normal operator run it and it prompts for a Automatic Software update, the Update Software have permission to overwrite contents in this folder. The ini files and other local config files, we store in a different folder that we call: C:\<MyCompany>\<MyAwesomeApplication>_Data That's just how we do it down-under. Cheers, Mike
×
×
  • Create New...

Important Information

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