Gets the current list of databases on a system.


icon

Inputs/Outputs

  • cstr.png IP address (localhost)

    IP address is the target IP address. If IP address is unwired (empty), this VI retrieves aliases and file paths for the local Windows system. If IP address is a valid IP address, this VI retrieves aliases and file paths for the remote LabVIEW RT target. You can find this IP address using NI MAX or VIs in the LabVIEW Real-Time palettes.

  • 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.

  • i1dstr.png array of alias

    array of alias returns an array of strings, one for every alias registered in the system. If no aliases are registered, the array is empty.

  • i1dpath.png array of filepath

    array of filepath returns an array of strings that contain the file paths and filenames of the databases assigned to the aliases, one for every alias registered in the system. If no aliases are registered, the array is empty. This parameter applies to Windows targets only; on RT targets, this array always is empty.

  • 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

    For a local Windows call (IP address empty), array of filepath returns an array of file paths. The size of this array is the same as array of alias. It provides the Windows file path for each corresponding alias.

    For a remote call to LabVIEW RT, array of filepath is empty. NI-XNET handles the file system on the LabVIEW RT target automatically, so that only the alias is needed.

    If the LabVIEW RT target access is password protected, use the following syntax for the IP address: user:password@IPaddress.

    This VI is supported on Windows only. LabVIEW RT database deployments are managed remotely from Windows.

    This call checks for the existence of the database file and removes any aliases that are no longer valid.