Jump to content

MikaelH

Members
  • Posts

    835
  • Joined

  • Last visited

  • Days Won

    49

Posts posted by MikaelH

  1. I have another scripting task I like to do.

    I like to create a static Property node linked to the Pane, not a control.

    The Invoke method to link a Front Panel item to the property node, only accepts a Control, and can't take a Pane-reference.

    Is there another way?

    post-941-0-87186100-1425363139.png

     

  2. Thomas is right, the flatten to string format was changed between LV 2013 and 2014.

    To be backwards compatible you need to use flatten the string to the 7.x format in LV 2014 if you like to read that file/format in LV2013 or earlier.

    This should only be needed if you want to go back to LV 7,x according to the documentation, but if you test it you'll see that there is a difference between 2014 and 2013

  3. Oh Wow.   Like C++ or Python to LabVIEW?

     

    It supports java and c#, it's now available for testing: http://opengds.github.io/

    Just click "Show untested versions".

    Everything is Open Source, so have a look in the code if you want.

    I've not had time to document it too much though :-(

    (I even have a build for LV2015 Beta)

     

    I've also added Interface classes (By VI Server calls), and I will create a video soon that shows how it works.

    Remember that all features that the NI and Symbio version has, still exists in the OpenGDS version.

    Have fun.

  4. Morgan, I converted the UML Modeller(>20 classes) from GOOP2 to GOOP3 using the conversion tool, but you are right it can’t convert everything automatically, I still had to do 20% manually.

    You can always debug/fix the conversion  tool since all VIs are unlocked.

    (LabVIEW 20XX\resource\Framework\Providers\Open_GDS\ClassProviders\Common\ConvertGoop2ToGoop3.vi)

     

    If you have some sample classes in GOOP2, I can help you look into it.

    I’m about to release a new version of OpenGDS.

    In that version there is a new conversion tool that you got to try :-)

    post-941-0-35890300-1423434422.png

     

    I most often use GOOP4 (DVR) now a days, but the biggest change I have to do in the design when going to GOOP4/DVRs, is that I can’t just read Attributes while someone has locked the access to the Attributes/DVR

    That could be done in GOOP2/GOOP3. So when you have a class member SubVI that tries to read an attribute, and you place that inside a IPE structure that has locked the same object your code gets stuck, as you probably experienced.

     

    //Mike

  5. @Mikael: Basicly what you use is a name queue, am I correct? That's how you get the reference to another object. Thank you very much for your time building the example code :)

    Since I'm using the GDS toolkit, it generates >95% of the code, so it took me less than 5 minutes to create this :-)

     

    The singleton is storing the Object Reference(DVR) in a 1 element named queue.

    The Actor/Active Object Process is also using named queues (based on the DVR Reference number) to store the mechanism to send data to and from the process.

    The steps to create this with the GDS tool is:

    1. Create the class: A as a DVR Singleton class
    2. Add Design Pattern Active Object to the class.
    3. Add a “Send Message To Process†method(RequestData.vi) to the class.
    4. Modify the newly created VI/method
    5. Modify the Process VI in the class to handle the message
    6. Clone Class A to B
    7. Modify the Process VI and RequestData.vi in the new class.
    8. Create the Top level Main VI

    //Mike

  6. We have created our own HTML reporting tool, it uses JQuery and JQPlot, so you can have plots that you can zoom into and right click export to xls functions.

    The best part is that it's a single html file page, that means that any images gets embedded in it. We refer to some style sheets and js files located on a local server,

    but then the file gets pretty big. Here is an report example.

    20141219_080953_My Awesome Report_SN012334.html

  7. Have you tried the Icon Editor that comes with GDS?

    This VI gets loaded with LabVIEW and will open instantly.

    (Tools->GOOP->Create VI Icon…)

     

    If you have installed NI's GDS (http://sine.ni.com/nips/cds/view/p/lang/en/nid/209038)

    You can find the IconEditor VI here:

    LabVIEW 2013\resource\Framework\Providers\Symbio_GDS\EndevoProvider.llb\GDSIconEditor_CreateVIIcon.vi

     

    Or if you download the OpenGDS (http://opengds.github.io/)

    You can find the IconEditor here:

    LabVIEW 20XX\resource\Framework\Providers\Open_GDS\ClassProviders\Common\IconEditor\GDSIconEditor_CreateVIIcon.vi

  8. I tried it on the file: GOOP_Library.ini and it didn't work.

    [Provider]
    SupportedType={ABC740D6-F254-4BBC-5675-8858F35B820E}
    IsPrimary=0
    ItemInterfaceVI=..\Open_GDS\GOOP_Library_Item_Interface.vi
    LicenseName=None
    InterfaceVersion=1.0
    Signature=N2JJ9X329XL9TBJR7XT9J2XRXBW7XCSN
    

    The Value string is:

    {ABC740D6-F254-4BBC-5675-8858F35B820E}0..\Open_GDS\GOOP_Library_Item_Interface.viNone1.0

     

    But the Signature became: KXCB229B7CKCK9BRC5BC5SR7CC3J259R

     

×
×
  • Create New...

Important Information

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