|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: Shared Variable Node, VI, and Functions
Requires: Base Development System
All search criteria are optional. If you leave a search criterion input terminal unwired, this function does not filter based on that criterion.
|class specifies the class of the variable objects to search for. The default is Variable Object.|
|container refnum in specifies the variable container under which to search. This function searches the full container hierarchy under the container you specify. This function searches the partial URLs of all variables under the container you specify. The partial URLs do not include the URL corresponding to this container.|
|regular expression is the pattern to search for within the variable object URLs. The default is an empty string. This function uses the same regular expression rules as the Match Regular Expression function.|
|data type specifies the data type of the shared variables you want to search for. The default is variant, which specifies that if you leave the terminal unwired, the function does not filter based on data type. However, if you wire a variant control or constant to this terminal, the function returns variables of the variant data type only.|
|error in describes error conditions that occur before this node runs. This input provides standard error in functionality.|
|access type specifies the read access and write access settings of the shared variables you want to search for. The default value is Allowed for both read access and write access. |
|container refnum out is the reference to the shared variable container you wire to the container refnum in input.|
|refnum array out contains the variable object references that result from your search.|
|error out contains error information. This output provides standard error out functionality.|
The search matches the regular expression you specify against the partial variable identifier URLs of all variable objects under the variable container you specify. The partial URL does not include the initial URL substring that corresponds to the URL you wire to the container refnum in input.
For example, if you wire a URL of ni.var.psp://lib1 to the container refnum in input, the partial URL for a variable object with the URL ni.var.psp://lib1/lib2/var1 becomes lib2/var1.