Jump to content

lvb

Members
  • Posts

    209
  • Joined

  • Days Won

    7

Posts posted by lvb

  1. IN either case the shift register should be removed. In error in closing one reference should not prevent others from closing.

     

    I don't believe it will.  There are several functions (like Close VI Ref) that will function even if an error is passed in because it knows it is a cleanup operation and should try to run no matter what.

     

    As hooovahh said, it doesn't change the behavior in this instance.  It also makes the diagram cleaner.

     

    FYI, I always pass the error wire as a shift register with a loop.  If the loop doesn't run (i.e. empty array auto-indexing), tunnels will "clear" any error on the wire.  This is a very common bug I see in applications.

  2. Create a Base class for the Events and inherit it for all the different type.

    It’s lot of work but that makes it possible to destroy them using a for loop.

     

    Thanks also, I should probably change my original post to state I am looking for the solution that requires the least amount of "coding" time but yet still performs everything in parallel.

     

    I think the best answer is to create a scripting VI.  It would be nice if LabVIEW had a "close cluster of events" primitive.

  3. So my official solution is to change your architecture to either have all user events user the variant data type.  Or only have one user event with the variant data type.  And in both situations convert back to the usable data type where the data is used.  Sorry I couldn't come up with something better.

     

    Thanks for taking a look.  Your work-around seems to be more work than just adding the extra code to close the events.

  4. Hi Brian, thanks for the post

    But one thing I noticed recently was that LabVIEW crashes if you run the Create Child Class plugin in a class Project Window (right) as opposed to a standard Project Window (left)

    ...

    Is this is what you are experiencing?

     

    Yes, this is exactly what I am experiencing.  Creating the child class from within a LabVIEW project window works fine in LabVIEW 2013.  Creatind the child class from within a Class Project Window crashes LabVIEW 2013.

    • Like 1
  5. I find out that the error was due to the fact that I manually renamed the lvlibp file and some dependencies were not found anymore.

     

    Regarding the sourc lvlib I'm using to create the packed library, I have a single folder added as " Folder (Snapshot)". Is there any way to force a rescan of the folder and add new VIs to the lvlib ? At the moment, I have to remove the folder and all VIs from the lvlib and add them again.

     

    I'm not quite sure what you are asking as all files within a lvlib will be shown.  However, you can use auto-populating folders to automatically add new files to a project.  

  6. But there is good news... the plan -- and let me stress plan -- is to work on several debugging-related improvements for 2014, and I'm asking that some work be done to make this task manager work better. No promises, but I am making the request.

     

    Please, please add a VI server call that properly reports which VI's are running!  (See thread here)

×
×
  • Create New...

Important Information

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