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,512 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,493 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,489 Views)

Tah44-

 

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

 

-Jeff

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

Labview

0 Kudos
Message 5 of 7
(3,481 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: http://zone.ni.com/reference/en-XX/help/370052P-01/tsexamples/infotopics/accesspropertiesapi_labview...

-Jeff

0 Kudos
Message 6 of 7
(3,475 Views)
Solution
Accepted by 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: http://zone.ni.com/reference/en-XX/help/370052P-01/tsref/infotopics/sa_creating_analysis_modulesimpl...

 

-Jeff

Message 7 of 7
(3,448 Views)