Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

path2rc (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the support class.

Syntax

path2rc

c = path2rc

c = path2rc(a)

Description

Saves the current path list to a file.

Details

Inputs

Name Description
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.

Outputs

Name Description
c Returns the status of the save process. c is an integer that can return the following values.

0 LabVIEW did not save the path to file successfully.
1 LabVIEW saved the path to file successfully.

Details

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 Options page to change the default search path list.

This function is not supported in the LabVIEW Run-Time Engine. Do not use this function in a stand-alone application or shared library.

Related Topics

path


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit