Jump to content

drjdpowell

Members
  • Posts

    1,994
  • Joined

  • Last visited

  • Days Won

    183

Posts posted by drjdpowell

  1. The automatic shutdown feature is implemented by a "watchdog", which watches for the launching actor to stop running and sends the message.  This has the advantage that it always happens, even if the launching actor stops due to an out-of-memory error or hitting the stop button, but it has the disadvantage that shutdown happens only after the launching actor has stopped.

  2. I would suspect your problem is that your app closes the main window before its finished all its shutdown operations like your INI file.  That is fine in source, but it is my understanding that Windows will kill a process with no open windows (Google is failing me on confirming that).  

    Things to try:

    Command your subactors to shutdown and wait on their replies before stopping the top level actor and closing the main window.  Then you know your subactors have executed their shutdown actions.

    If there is a reason you can't tell them to shutdown (and you have to rely on auto shutdown). Then you need to keep a window open until your code has a chance to execute it's cleanup, so Windows doesn't kill you first.

  3. On 6/23/2025 at 11:38 AM, ionpol said:

    Unfortunately, it fails. The original error I posted is from within the MATH.vi so it would make sense that nothing downstream of that would work.

    Sorry I never got back to you here.   That error looks like the extention dll is missing.  I would check to see if it is at the path specified in teh error message.

  4. On 4/2/2026 at 7:05 PM, Thang Nguyen said:

    we just changed the version of SQLite from 1.7.3.65 to 1.16.0.115 and we found out this library have a bug, we believe. This happen when we try to query a record cluster including enum value. In the Execute SQL (Variant Cluster results).vi/Parse Parameters.vi, originally, the enum is return as Int; now it returns as String.

    Mapping Enums onto SQLite Text type is intentional.  The "Parameters" feature didn't exist back in version 1.7.3.  Note that if you are converting data selected from the database, you can convert either Integer or Text as Enums, but with Paramaters (going into the database) one has to make a choice of type for Enums, and the choice I made is Text.  

    You can still make Enums Integers, but you will have to use another method, such as "Prepare Statement".

  5. JSON is always in UTF-8, and JSONtext will try and convert to your computer's character set automatically, so I don't think you need any of that stuff that has "UTF8".  Try simply using the single function to convert to a 2D array of strings.

    However, by sure you are actually passing true JSON, with UTF8 encoding, not whatever your computer is using.  

  6. I think this is teh same issue as this: https://forums.ni.com/t5/JDP-Science-Tools/Cannot-Install-JDP-Science-Common-Utilities/m-p/4418396#M205

    The SQLite package requires JDP Common Utilities, and that package seems to have a problem.   Workaround is to download it and have VIPM install it directly, rather than try and get it from the Tools Network servers (it's a server issue, not a problem with the package itself).  I'll attach it here as well.

    Try installing this and then retry installing SQLite.

     

    jdp_science_lib_common_utilities-1.4.1.18.vip

×
×
  • Create New...

Important Information

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