File Constants下載 PDF選擇的小節所選的小節與子小節完整手冊已更新2025-07-30閱讀時間為 1 分鐘LabVIEWAPI 參考LabVIEW G Use the file constants with the File I/O VIs and functions. Path ConstantUse this constant to supply a constant path value to the block diagram.Current VI's Path FunctionReturns the path to the file of the current VI. If the VI never has been saved, this function returns <Not A Path>.Get System DirectoryReturns the system directory specified in the system directory type input.Empty Path ConstantReturns an empty path.Not A Path ConstantReturns a path whose value is <Not A Path>. You can use this path as an output from structures and subVIs when an error occurs and you do not want to return a path.Not a Refnum ConstantReturns a refnum whose value is Not A Refnum. You can use this refnum as an output from structures and subVIs when an error occurs.Default Directory FunctionReturns the path to the default directory.Default Data DirectoryReturns the directory you configure to store the data a VI or function generates.VI Library FunctionReturns the path to the VI library directory for the current application instance on the current computer.Application DirectoryReturns the path to the directory containing the application.Temporary Directory FunctionReturns the path to the temporary directory.Parent topic: File I/O
Use the file constants with the File I/O VIs and functions. Path ConstantUse this constant to supply a constant path value to the block diagram.Current VI's Path FunctionReturns the path to the file of the current VI. If the VI never has been saved, this function returns <Not A Path>.Get System DirectoryReturns the system directory specified in the system directory type input.Empty Path ConstantReturns an empty path.Not A Path ConstantReturns a path whose value is <Not A Path>. You can use this path as an output from structures and subVIs when an error occurs and you do not want to return a path.Not a Refnum ConstantReturns a refnum whose value is Not A Refnum. You can use this refnum as an output from structures and subVIs when an error occurs.Default Directory FunctionReturns the path to the default directory.Default Data DirectoryReturns the directory you configure to store the data a VI or function generates.VI Library FunctionReturns the path to the VI library directory for the current application instance on the current computer.Application DirectoryReturns the path to the directory containing the application.Temporary Directory FunctionReturns the path to the temporary directory.Parent topic: File I/O
Use the file constants with the File I/O VIs and functions. Path ConstantUse this constant to supply a constant path value to the block diagram.Current VI's Path FunctionReturns the path to the file of the current VI. If the VI never has been saved, this function returns <Not A Path>.Get System DirectoryReturns the system directory specified in the system directory type input.Empty Path ConstantReturns an empty path.Not A Path ConstantReturns a path whose value is <Not A Path>. You can use this path as an output from structures and subVIs when an error occurs and you do not want to return a path.Not a Refnum ConstantReturns a refnum whose value is Not A Refnum. You can use this refnum as an output from structures and subVIs when an error occurs.Default Directory FunctionReturns the path to the default directory.Default Data DirectoryReturns the directory you configure to store the data a VI or function generates.VI Library FunctionReturns the path to the VI library directory for the current application instance on the current computer.Application DirectoryReturns the path to the directory containing the application.Temporary Directory FunctionReturns the path to the temporary directory.Parent topic: File I/O