Reads the type and creator of the file specified by path. type and creator are four-character strings. This function does not work for files inside an LLB.

If the specified file has a name ending with characters that LabVIEW recognizes, such as .vi for the LVIN file type and .llb for the LVAR file type, this function returns that type in type and LBVW in creator. If the specified file is not a known LabVIEW file type, this function returns ???? in type and creator.


icon

Inputs/Outputs

  • cpath.png path

    path specifies the file or directory whose type or creator you want to read.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ipath.png path out

    path out returns path unchanged.

  • istr.png type

    type contains the current type of the file after this function executes.

    If no error occurs, this function returns the type of the specified file in type. If an error occurs, error indicates the type of error and type is an empty string.
  • istr.png creator

    creator contains the current creator of the file after this function executes.

    If no error occurs, this function returns the creator of the specified file in creator. If an error occurs, error indicates the type of error and creator is an empty string.
  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • type can return the values for LabVIEW files listed in the table below.

    LabVIEW File Typetype Value
    ControlLVCC
    .logLVDL
    LabVIEW ClassCLIB
    LabVIEW ProjectLVPJ
    LibraryLIBR
    LLBLVAR
    PaletteLMNU
    Template ControlsVCC
    Template VIsVIN
    XcontrolLVXC
    VILVIN

    The type parameter can also return some platform-specific strings.