Closes a subframe object (or all objects in the subframe's database).


icon

Inputs/Outputs

  • cgenclassrntag.png subframe in

    subframe in is the subframe to close.

  • cbool.png close all? (true)

    close all? indicates that all open database objects will be closed. This is the default.

  • cerrcodeclst.png error in (no error)

    The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

  • ierrcodeclst.png error out

    The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

  • Description

    This VI closes a subframe object from a database (or all database objects). It is an instance of the XNET Database Close poly VI.

    To simplify the task of closing all database objects you opened, you can use the close all? parameter set to true (default); otherwise, only the single database object wired in is closed.

    Database objects are closed automatically when the top-level VI terminates, so using this VI is optional. However, you may want to close database objects to free their memory prior to starting a session. You can use this VI to do this.