Jump to content

paul_cardinale

Members
  • Posts

    70
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by paul_cardinale

  1. After a lot of digging, I found the bug (in my code).  It wasn't happening just when one Y Control depended on another, but whenever two different types of Y Control were both in memory.

    The fix is attached.  I've also done a bit of cleanup (including closing a dangling VI ref), and some minor improvements of the help.  It's backward compatible; no need to rebuild anything, just run the new installer.

    Y Controls - Version 2.0.3.0 Source.zip Y Controls Support - Version 2.0.3.0 Installer.zip

  2. I've discovered a bug.  It appears to be a bug in LabVIEW.  Here is what I believe is happening: Hiding inside each instance of a Y Control is an instance of "C: ... \LabVIEW xxxx\resource\plugins\Y Control\Ability Manager\Y Control Ability Manager.XCTL".  When LabVIEW loads an instance of a Y Control that depends* upon another Y Control, there are 2 instances of "Y Control Ability Manager.XCTL" that need to be initialized: One for the outer Y Control and one for the inner Y Control.  The "Init" ability of the Xctl for the inner Y Control gets called first, and it works OK. However when the "Init" ability is called for the outer Y Control, it is passed the wrong refnum: Instead of getting the refnum to the instance of the Xctl in the outer Y Control, it gets a refnum to the instance of the Xctl in the inner Y Control.


    *In my case this happens because I have a Y Control calls a dialog VI that contains a reference to a VI that has a Y Control.

    • Like 1
  3. Based on the lack of feedback, I infer that there's little or no interest.  But I've been using Y Controls, finding issues, and fixing them.  Since no one else appears to have been participating, I haven't concerned myself with backward compatibility,  I'm getting close to sharing a new version.  Anything made with the old version will be broken.

    • Thanks 1
  4. 1 hour ago, X___ said:

    LV 2019 SP1f1 64 bit crashed upon closing my first Y Control... but seems to have recovered fine.

    So, I can now resize objects within a Y Control cluster, but there seems to be a glitch (race conditions?) in the Process New Value.vi:

    1689870352_ProcessNewValue.png.42e9670ff23129f8348da1ab19733ea1.png

    When the user changes the checkbox (for visibility) to True, the string is hidden and reciprocally. Am I missing something?

    Can you send me the entire Y Control?

  5. 12 hours ago, X___ said:

    1. I removed LVNewDialog.xml before re-installing 1.0.0.2 and got this:

    2136831900_ScreenShot2020-12-14at17_24_29.png.38999c8be8ccb85c27f761e2105ceb4b.png

    which, after I pressed continued, left the installer window opened in a stopped state, but at least now the help is back in the menu (but in Help>>Y Control, not Help -> New -> Y Control as you have it in the Readme.txt)

    However, the File>>New... dialog is now empty, so removing LVNewDialog.xml is definitely not the thing to do (putting it back resolves the issue but is missing the Y Control item).

    2. Re-uninstalling Y Control Support now LEAVES the Help >> Y Control menu but nothing happens when selecting it:

    213690284_ScreenShot2020-12-14at17_34_51.png.0b4d99da3efed460cc86de3e429c5ded.png

    3. Re-reinstalling 1.0.0.2 restores the Y Control item in the New... dialog box...but removes the Help menu!

    Getting somewhere?

    Is the installer creating "C:\ ...  National Instruments\LabVIEW nnnn\help\Y Control\Y Controls.chm" for you?

  6. 2 hours ago, X___ said:

    Still can't seem to be able to access the Help. Certainly not in the Help -> New -> Y Control -> Y Controls menu and the chm file still doesn't work for me?

    It seemed quite straightforward when I first installed it, but maybe the UNinstall step messed up with something?

    I just uninstalled 1.002 and tried again the release from post 22 and am without an easy way to find Help within LV (and the chm file is not working anymore as a standalone) 😞

    Uninstall deletes "C:\ ...  National Instruments\LabVIEW nnnn\resource\plugins\Y Control\*",  "C:\ ...  National Instruments\LabVIEW nnnn\help\Y Control\Y Controls.chm", and removes the Y Control from "C:\  ... National Instruments\LabVIEW nnnn\resource\plugins\NewDialogFiles\ LVNewDialog.xml".

    Is the installer creating "C:\ ...  National Instruments\LabVIEW nnnn\help\Y Control\Y Controls.chm" for you?

    Y Controls.chm

  7. On 11/25/2020 at 10:44 AM, The Q said:

    I just added an explanation of how to add to the New dialog on the LabVIEW Wiki:

    https://labviewwiki.org/wiki/New_dialog

    If you have any ideas to help me make QControls better, let me know.  I have a thread on the QControl Enthusiasts page:

    https://forums.ni.com/t5/QControl-Enthusiasts/QControl-Usability-Improvements/td-p/4101397?profile.language=en

    Perhaps you might find this useful.

    Update File_New.zip

  8. That issue has been corrected (see attached files).  However it won't fix already-created Y Controls.  To fix them, make sure that Facade.ctl and the .yctl file are set as "TypeDef" and not "Strict TypeDef"

    Other improvements:

    • The installer and uninstaller will ignore RO status of an existing installation of Y Controls.
    • The wizard fixes up the label of the cluster in the .yctl file.

    Y Controls Support Version 1.0.0.1 Installer.zip Y Controls Version 1.0.0.1 Source.zip

  9. On 11/25/2020 at 2:36 AM, Antoine Chalons said:

    This looks interesting, I've created a QControl and really enjoyed the concept, haven't dug too much into Y controls but it looks interesting, are you developing this alone or as an open source project?

    I get the same error when building the VIP, you should post here I think : https://forums.jki.net/forum/5-vi-package-manager-vipm/ to get some support, JKI is usually quite responsive.

    I managed to post the issue there, but it's very cumbersome because I only get one post per password reset (and their Contact Us link is broken).  I did get a reply and was able to solve that problem, but now it throws error 1357.  Maybe it's time to throw in the towel on VIPM.

    e.png

  10. 4 hours ago, The Q said:

    I just added an explanation of how to add to the New dialog on the LabVIEW Wiki:

    https://labviewwiki.org/wiki/New_dialog

    If you have any ideas to help me make QControls better, let me know.  I have a thread on the QControl Enthusiasts page:

    https://forums.ni.com/t5/QControl-Enthusiasts/QControl-Usability-Improvements/td-p/4101397?profile.language=en

    Gee, I put all my ideas into Y Controls.  Attached is my help file (still under construction) for Y Controls.

    Y Controls.chm

×
×
  • Create New...

Important Information

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