Owning Class: support
Requires: MathScript RT Module
c = pathfwrite
c = pathfwrite(a)
Saves the current path list to a file.
|a||Specifies the filename relative to the current working directory. If you do not specify a, LabVIEW saves the current path to 'path.txt' in the current working directory. a is a string.|
|c||Returns the status of the save process. c is an integer that can return the following values.
If you use this function in a stand-alone application or shared library, LabVIEW saves relative to the path where you installed the application or shared library. (Real-Time Module) If you deploy this function to an RT target, LabVIEW saves relative to the path given by the Default Data Directory VI.
Changes you make to the search path list using the path function apply only to the current instance of the LabVIEW MathScript Window or the MathScript Node from which you call the function. Changes to the search path list for one MathScript Node do not apply to any other MathScript Nodes. LabVIEW resets the search path list to the default when you close the LabVIEW MathScript Window or when the MathScript Node stops executing. Use the MathScript: Search Paths page of the LabVIEW MathScript Properties dialog box to change the default search path list for the LabVIEW MathScript Window. Use the MathScript page of the Options dialog box to change the default search path list for MathScript Nodes in the main application instance.
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||No (affects entire script)|