Jump to content

MikaelH

Members
  • Posts

    835
  • Joined

  • Last visited

  • Days Won

    49

Posts posted by MikaelH

  1. I don't know anything about the internals of LabVIEW window management, so I can't speak to whether or not what you're seeing is intended behavior when the windows are reparented via winapi calls.

     

    Here's a VI that may help, though. This password-protected VI (saved in LabVIEW 2013) calls a private VI Server property to suppress LabVIEW editor dialogs. Call this VI before you do your scripting, with a TRUE input. Then when your scripting is done, call it again with a FALSE input to reenable LabVIEW editor dialogs. <standard disclaimer here about using private LabVIEW functionality in production code>

     

    attachicon.gifSuppress Dialogs.vi

    Darren, can you make a 2012 version f this?

  2. Re: Design Patterns

    Hi Mikael,

     

    When I run the remoteloader.vi in the CommandPattern project I get the error 1100:

     

    Obtain Queue in RemoteControl.lvclass:GuiRepository.vi->RemoteControl.lvclass:ControlGuiWindow. vi->RemoteLoader.vi

     

    I am wondering if this error has anything to do with the labview version I am using (2013).

     

    thanks

     

    Helcio

    Sorry I just saw that I use my own dialog VI, in the Door,Fan and Light classes.

    Replace the VI: LcDialog_AutoSizeDialog.vi, with a single One utton Dialog.

    The VIs you need to update are:

    GarageDoor_classOpen.vi  Close.vi

    Light_classOn.vi Off.vi

    CeilingFan_classSetSpeed.vi

  3. Hi Mikael,

     

    I am trying to build the abstract factory pattern with GOOP and I do not know how to check if an object reference is not empty in Labview.

    In JAVA this was done like this:

     

    How can I do this in labview?

     

    What class type are you using?

    If it's a GOOP3 type, you can use the Utility VIs (under Addons->GOOP Utility) GOOPUtil_IsValidReference.vi

×
×
  • Create New...

Important Information

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