LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you search for specific shared variables in LabVIEW 8.6?

National Instruments is not making this easy. I cannot find any reference to searching for shared variables in either the bug fixes or known issues. I guess NI doesn't think being unable to search for shared variables is a problem.
0 Kudos
Message 1 of 7
(4,309 Views)

KenT (of NI) posted a tool in this thread to help you search for Shared Varibles.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 7
(4,303 Views)

You can always lable your shared variables and do a search for text, not the most elegant solution but should work.

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 7
(4,297 Views)

@JT1958 wrote:
National Instruments is not making this easy. I cannot find any reference to searching for shared variables in either the bug fixes or known issues. I guess NI doesn't think being unable to search for shared variables is a problem.


We are aware that this is a desired feature, and we are looking at ways to include this functionality in a future LabVIEW version.

Thanks for the feedback,
-D
0 Kudos
Message 4 of 7
(4,280 Views)
You said

"KenT (of NI) posted a tool in this thread to help you search for Shared Varibles.

Ben"

 

The tool for searching for shared variables does not work. After listing vis in the selected project it stops. There is no opportunity to search for shared variables.


0 Kudos
Message 5 of 7
(4,270 Views)

JY wrote "The tool for searching for shared variables does not work. "

Please post your finding in that thread so Ken can follow-up. The methods he used were private so only NI can do anything to help you.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 7
(4,262 Views)
The reason that VI didn't work is probably because the internal structure of Shared Variables on the diagram changed in LabVIEW 8.6.  They used to be a particular type of object, and now they are another.  I have attached a VI Analyzer test below that allows you to specify a string pattern, and the test will return a "failure" for any Shared Variable found on the diagrams of analyzed VIs whose name(s) match that pattern.  Note that in order for this test to work, the LabVIEW project that owns the variable(s) you're looking for must be open prior to starting the analysis...otherwise you'll get a 1055 error when running the test.  Place the attached LLB in your [LabVIEW Data]\VI Analyzer Tests folder, restart LabVIEW, and choose Tools > VI Analyzer > Analyze VIs.  This test will only work in LabVIEW 8.6 and later since it looks for the new object type of Shared Variables.

Hope this helps,
-D


Message Edited by Darren on 08-12-2008 03:08 PM
Message 7 of 7
(4,257 Views)