NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

sequence analyzer: Data Transfer between one sequence analyzer rule to another

Solved!
Go to solution

Is there any way by which I can send data from one sequence analyzer rule to another.

 

I have created rules to count number of SCOPE step, REQUIREMENT TEXT step , APPROACH step

 

Now I want to create another rules which reads the values from each of these rules

0 Kudos
Message 1 of 7
(3,906 Views)

Would it be possible to extract all that data into a variable of some sort, and then routinely check that?

0 Kudos
Message 2 of 7
(3,887 Views)

I don't want to extract the data in any variable. I wanted the sequence analyzer to internally send data from one rule to anoter

0 Kudos
Message 3 of 7
(3,883 Views)

Tah44-

 

What language are you writing your custom Sequence Analyzer rules in?

 

-Jeff

0 Kudos
Message 4 of 7
(3,879 Views)

Labview

0 Kudos
Message 5 of 7
(3,875 Views)

Tah44-

 

Here are a few ideas that come to mind:

 

  1. You could create a Functional Global Variable in LabVIEW to store values from previously analyzed rules.
  2. Write the data to a file and read back in other Analysis Modules.
  3. Use the AnalysisContext reference passed into each Analysis Module; this provides a reference to the TestStand Engine which could be used to create a new PropertyObject  and store it in the Engine's TemporaryGlobals (using the PropertyObject API). Here is an example that ships with TestStand to show you some of the necessary techniques to accomplish this: https://www.ni.com/docs/en-US/bundle/teststand/page/accessing-properties-using-api-labview.html

-Jeff

0 Kudos
Message 6 of 7
(3,869 Views)
Solution
Accepted by topic author Tah44

Tah44-

 

One of my colleagues brought another, likely better, idea to my attention this morning:

 

Use the AnalysisContext.GetRuleAnalysisData method to access other Analysis Rule's data: https://www.ni.com/docs/en-US/bundle/teststand/page/creating-analysis-modules-for-custom-rules.html

 

-Jeff

Message 7 of 7
(3,842 Views)