NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How does one refresh the SequenceView Control between runs

Hi,

 

Using:

  • TestStand 2012 (not SP1)
  • LabVIEW 2012 (not SP1)
  • Custom TestStand OI (based on LaVIEW Full Featured)

We are using the Test UUTs button to run our sequence.

 

We noticed that the TestStand UI SequenceView Control (Execution View) does not refresh its Result or Status values between runs.  It does if you use Single Pass.  Is there a way to refresh this?

 

Thanks

 

Christopher Farmer

Certified LabVIEW Architect and LabVIEW Champion
DQMH Trusted Advisor
https://wiredinsoftware.com.au

0 Kudos
Message 1 of 6
(4,417 Views)

Possibly. You will have to find the method that displays this information, as well as were this info is stored in the execution. It may be that the information isn't stored in a way that can be displayed.

 

https://www.ni.com/docs/en-US/bundle/teststand/page/creating-custom-user-interfaces.html

0 Kudos
Message 2 of 6
(4,337 Views)

Thanks for the reply.

 

So just to clarify, when I say "refresh", I mean that the values from the previous test run are remaining there until that test is run again and updated.

Christopher Farmer

Certified LabVIEW Architect and LabVIEW Champion
DQMH Trusted Advisor
https://wiredinsoftware.com.au

0 Kudos
Message 3 of 6
(4,335 Views)

Nearly 6.5 years later and I have the same question, but I want to know how to refresh the SequenceView generally.

 

I have some code in the SequenceFileLoad callback in the .seq that changes the step status based on a previously saved results.  The SequenceView doesn't change when I open that .seq in the Simple UI.  However, if I change the selected sequence in the Sequences Combobox and then change it back to the sequence where I have changed the step status, it will show the status that I updated in the SequenceFileLoad callback.  So...something forces it to redraw/refresh.

 

 

0 Kudos
Message 4 of 6
(173 Views)

Hi, 

Can you try to call SequenceFileViewMgr.Refresh - NI?

 

Regards, 

Anand Jain

NI

0 Kudos
Message 5 of 6
(166 Views)

I put a simple LabVIEW button on the UI and added an event calling .Refresh and this works as expected.  My guess is the SequenceFileLoad callback in the .seq runs after both the AppMgr.DisplaySequenceFile and AppMgr.SequenceFileOpened events run?  I even tried putting a 5 second delay in each of these before the .Refresh but that didn't matter.  I suppose the way to do this is to put a UI message at the end of the SequenceFileLoad callback to let the UI know it can refresh?

0 Kudos
Message 6 of 6
(159 Views)