Jump to content

viSci

Members
  • Posts

    483
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by viSci

  1. I use subpanels frequently for UI management of instrument actors in a large SCADA application.  Everything works well until shutdown of the top level actor.  I am seeing some evidence that the child actors running in subpanels do not shutdown gracefully.  For example in the cleanup case of my subpanel actors I have the following code which attempts to save the actors control settings to an ini file.  This works fine in the IDE but fails in a built exe.  As far as I can tell the vi reference is still viable at the start of the Cleanup case but the ini file does not get written to.   Subpanel references are handled by the messenger framework automagically so I am wondering if there might be something going on I need to consider.  Also I added the Save Default Profile message which I can call from the top level prior to shutdown and that seems to work in the exe. 

    image.png.f68024c3196977ba25896588b629c49a.png

  2. In LV 2025 the ability to open reentrant clones on the cRIO is supported in the LV IDE. I have confirmed that I can open the front panel and probe the BD of reentrant clones running on my cRIO with Linux RT.  There is a bug however that inhibits this ability until the execution properties window of the reentrant vi is opened and the code restarted.

  3. Experiencing strange behavior on a cRIO where I have a heater controller that uses 3 PID vi's.  The execution properties of the PID vi's are set to Preallocated clone Reentrant.  When running from the project the individual PID vi's do not initially open as clones.  Only after opening the properties and then restarting do things start working properly.  This is a repeatable issue that reoccurs each time the code is deployed to the cRIO from the project.  I suppose I could just save the PID vi multiple times with different name but that is a poor solution and cumbersome since the PID vi is in the NI_PID_autopid.lvlib.

  4. Just to wanted add another voice to the LuaVIEW fan club.  LUA is an excellent scripting language and LuaVIEW is an excellent integration with LV.  Keep hoping you might see the advantages of open sourcing it to the LV community.

  5. Noticed that MGI RWA does not seem to work when clusters contain things like IMAQdx refnums.  Seems like the default Major Vers will always be 1 which is incorrect and causes conversion back to variant problems downstream.

    When I changed the default of the Scan String first parameter to 2 then it works fine.

    image.png.eb6747f79a03a1075f13dd237d7a4055.png

    This is my cluster that I am trying to work with.  The problem occurs with the IMAQdx refnum control.

    image.png.54b4f872e78436fe79c98ce614342dcc.png

  6. Remember the venerable DSC toolkit?  For its time it was a well thought out collection of SCADA tools, historical database, distributed systems manager, Network tag engine, etc.  Now that we are NI/Emerson can we hope for a modern version of this?  Sans Network Shared Variables of course!  I suppose there is Systemlink but I am not sure that really covers SCADA usecases.

  7. Nicely described approach Shaun.  I am doing something similar with a lab automation project that involves vacuum chamber and multi-zone temperature control.  Elected to use the messenger framework, which supports 'spinning up' instances and TCP capability for remote devices like cRIO.  The messenger architecture also supports many types of asynchronous messaging beyond simple synchronous command/response.  Your idea of decoupling EC sequencing logic is good, moving it out of the EC subsystem to allow synchronization with other subsystems during ramp/soak profiles.   Hey remember Test Stand Lite?  This is where an such a scripting component would really shine and be a great benefit to the community.  

×
×
  • Create New...

Important Information

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