From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-10-2022 01:08 PM
I have a TestStand project that contains "main" test sequence that calls around 10 test sequence files that each call anywhere from 5 to 50 test sequence files. I need to determine if a particular test sequence file is called by any other test sequence file. LabVIEW has a couple of ways to find VIs that call a specific VI. I cannot see how to do something equivalent for test sequence files that are called by other test sequence files. Am I missing something?
I have even just tried looking for text that is part of a test sequence file, but I don't seem to be able to do that either.
Solved! Go to Solution.
03-11-2022 04:56 AM
Hi Hamilton_Woods,
I am not aware of anything that you could access through the TestStand Sequence Editor. It can be done using the TestStand API but would require you to write some code to bubble through your sequences until you have all of the paths of the sequences called.
Regards
Steve
03-13-2022
09:52 AM
- last edited on
10-20-2024
09:25 PM
by
Content Cleaner
How about Sequence Hierarchy Window?
Also, you can use find (CTRL+SHIFT+F) and look for the sequence file path.
03-13-2022 10:41 AM
Thanks for the suggestion to view the hierarchy. I did that. It was minimally helpful. Unfortunately, the hierarchy shows "Main Sequence" as the name of every sequence in the hierarchy. The name of the sequence file is in the legend, which is color coded. I have so many sequence files that the colors are repeated multiple times. I was able to see who called who by noticing the color of the sequence file of interest and hovering over the "Main Sequences" of that color. The name of the sequence file is displayed while hovering. After locating the "Main Sequence" of interest, I was able to touch the "wires" leading to the callers one by one to observe the callers of the sequence file of interest.
03-13-2022 01:10 PM
Hi,
Please try menu Edit -- > Find and Replace in files
Give the name of the sequence file and select the directory under which all the sequence files are present.
It should list out the required files.
Hope this helps.
Ravi
03-14-2022 12:01 AM - edited 03-14-2022 12:07 AM
This will work if you call sequence files using explicit file name/path. If you specify sequence file dynamically (build name using expressions) this solution will not work.
03-14-2022 10:16 AM
I tried the approach offered by bienieck and RaviShrigiri. It actually works! The thing to be careful of is that the sequence file to be searched for needs to be the complete file name, including the extension. Otherwise, the search comes back empty.
I hope these answers are as helpful to someone else as they are to me!!! Kudos to both of you!
03-14-2022 10:35 AM
You can use regex as well.