Node
- Aktualisiert2025-10-31
- 1 Minute(n) Lesezeit
Use the node data type to interact with the PXI file system in PAscript.
Introduced in PAtools 7.2
A node variable can be a file or a directory.
Definition Options
Define PAscript variables with the node data type locally in the program code. Define node in classes or in PAscript functions.
Declaration Options
Define variables of the node data type with or without argument.
When you define the variables without argument, the variable refers to the test storage as the default directory /home/patools/vspN.
When you define the variables with argument, relative paths start without a preceding slash and refer to the test storage. Absolute paths start with a slash and must be accessible for the runtime system.
Example
node testFiles // refers to /home/patools/vspN
node myFile("myFile.txt") /* relativ path: refers to /home/patools/vspN/myFile.txt*/
node savFiles("/home/patools/sav0") /* absolute path: refers to /home/patools/sav0 */