![]() | Download Help (Windows Only) |
Owning Class: support
Requires: MathScript RT Module
c = pwd
Returns the current working directory.
Name | Description |
---|---|
c | Returns the current working directory. c is a string. |
The file path that you specify can be relative to the working directory. Changes you make to the working directory using the cd 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 working directory for one MathScript Node do not apply to any other MathScript Nodes. LabVIEW resets the working directory 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 working directory for the LabVIEW MathScript Window. Use the MathScript page of the Options dialog box to change the default working directory 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) |
Helpful
Not Helpful