Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by MikaelH

  1. Yes you can...if you did build the exe file with debugging on.
  2. Thanks guys, yes the option: "2018 SP1 Patch" is indeed the f4 patch
  3. Where did patch LV2018SP1 f4 go? http://www.ni.com/product-documentation/55001/en/ I could download the f4 patch using these URLs (just by taking the f3 patch and rename the url): http://download.ni.com/support/softlib/labview/labview_development_system/2018 SP1/Patches/f4/LV2018SP1_f4Patch-64.exe http://download.ni.com/support/softlib/labview/labview_development_system/2018 SP1/Patches/f4/LV2018SP1_f4Patch.exe But there is no official download link on NIs webpage, and I can't find it in NI Package Manager, but I'm sure it was available there a few days ago. Does anyone know?!? It feels like they removed it for some reason so I guess I shouldn't install it. 😟
  4. I would create a Clone method in the class. If you inherit any classes you need to also use the: "Call Parent Method", so the parent classes attribute will be clones as well.
  5. Hi Yes start with the Projected Provider documentation and the look through examples (e.g. the OpenGDS). I started in LV8.2, and lots of the issues I had, have probably been fixed since then. But one thing to remember is that it doesn’t (or at least didn’t) like to do things in parallel. E.g. if you add an item to the project tree (e.g. a new class), then that could trigger some other project provider calls (e.g. a new item added to the project window), so I had to add a small wait after those functions. If I didn’t do that LV could crash from time to time, that’s why you can find a lot to 150ms wait in the Open GDS code. Debugging the project provider code is a bit tricky. You can save a Break point on the BD of the provider VI, and then restart LV. The first time the code hits that break point the You can debug the code, but after that you Can debug the VI anymore, you have to restart LV again. Make sure you open VIs in the correct application instance if you want to modify them, and always remember to close all the referees opened in the provider VIs.
  6. Is this what you are doing? SubPanel_Main.zip
  7. It works great for me, if you right click and select: "FatBits", it becomes a bit bigger and could be a good tool to create a 32x32 icon (That's the only size it supports). There are no Property/Invoke nodes for this control, and Value change event don't seems to work 😞
  8. Why not merge it into OpenGDS's wire editor and create a Pull request.
  9. Sorry missed the lvclass files. BTW, I used OpenGDS to create the class and methods. XY-Shape.zip
  10. Try something like this 🙂 XY-Shape.zip
  11. FYI, version 1.2.38 has an issues when creating Override methods. Please use the latest one 1.2.39 https://opengds.github.io/ You won't believe what I had to do to get it working ;-), coding VIs that runs in the project provider application instance is not always easy. A VI that works fine when you run it normally, could still crash/freeze LV when it's running under the project provider application. I hope it will be easier in NXG.
  12. I would love to get more time to show everyone all the nice and fun feature that exists in the GDS tool. If anyone like to help please feel free :-). I'm aiming to document the "Convert Text based code to LabVIEW" next. You can always test it and see if you understand how to use it... You can google come Java or c# Design pattern examples (e.g. Observer pattern), and convert those classes straight into LabVIEW. I also want to document the API VIs, if you haven't tested them you can find them + examples here: LabVIEW 20XX\resource\Framework\Providers\Open_GDS\API
  13. The new version is ready for download under Untested Version https://opengds.github.io/
  14. I don’t agree ?, you just need to know where to look ? Every design pattern that is added to a class, have the ability to add new Method templates and you’ll find them here. This is the same if you add the Active Object Design pattern there is a method templates that helps you send and receive a message form the active process. BTW, I've created the new version with new templates, I just need to upload them, I let you know when it's done.
  15. The GetAttributes checks the DVR ref and generates a 1556 error if the DVR is invalid, but of course the DVR Ref could be killed externally between the Get Attribute and when the IPE node is executed...there is always a chance.
  16. Some test code I made of doing 500 Get Attributes of a class with some large data sets. I would try to avoid having to much data in the Attribute, but if I need it I might user the Reference Variable Design Pattern GDS can apply to a class. GetAttribute.zip
  17. You are right the read will be much faster if you use the DVR and use the IP Structure to just extract the element you need form the cluster. I'll update the templates to use this method.
  18. It's hard to test that VI since it requires a camera (and one VI s missing). But I haven't had any issues with the Scroll bar (at least when you figured out how the property node option works). If you can make some test code it will be easier to help you.
  19. Sure I'll add it, I thought everyone had a VI like that. We use it to indicate that the developer is aware that an error could be generated at this point in the code. It helps when we do code review.
  20. This is how I clear errors.
  21. Can't you just use this method? GOOPUtil_GetParentClassesHiererchy.vi
  22. You can alwasy look at OpenGDS and the examples it comes with and the demo videos :-) http://opengds.github.io/ http://www.youtube.com/watch?v=UcUj_Gl1JdI https://www.youtube.com/watch?v=hdcHYS_ZFr8 http://www.youtube.com/watch?v=_BvIiU2VMAU http://www.youtube.com/watch?v=ZWeO_wPe-VQ http://www.youtube.com/watch?v=OunqB9UdR6o http://www.youtube.com/watch?v=VncaD_pKe_s http://www.youtube.com/watch?v=i77lHDIMs_s
  23. Hmm, you are probably right, we only had this issue on all out W7 PCs.
  • Create New...

Important Information

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