LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass variables defined in LabVIEW to teststand sequence via teststand operator interface?

Hello all,

 

I am working on a project & I am very new to LabVIEW & Teststand both. This project consists of a main GUI, a teststand operator interface & a test sequence.

 

How the project works?

Part 1 - Main GUI (Refer screenshot 115 & 116)

  • This is the 1st GUI window the operator will see. It loads 8 string input parameters from respective locations. then read the string data inside it. Once this 8 inputs are loaded. Operator will click on "Run Build Transparency sequence" button.

Part 2 - Upgraded Teststand operator interface (Refer screenshot - 117 & 118)

  • Once the "Run Build Transparency Sequence" button is pressed. The operator should be able to see 'Teststand operator Interface' window. Where, One sequence is by default loaded. Now, the 8 inputs loaded in Part - 1 should be passed to the default sequence and sequence should start running & operator should be able to see the test report.

Part 3 - Sub VI inside 'Teststand operator Interface' (Screenshots 95 & 97)

  • I have manually added this vi in teststand operator interface block diagram, so that I can send the 8 string inputs in main GUI to teststand sequence.
  • I have tried developing 2 different sub VI's. one using Application manager control & other using sequence context control. These both Vi's throw different errors and I couldn't run the test sequence.
  • For the sub VI which used sequence context as control, I called this vi in a step of teststand sequence. but it still didn't work.

Project status - 

  • Part-1 works well. 8 Inputs get loaded successfully. Then Teststand operator interface window also opens successfully. 
  • Error occurs when LabVIEW tries to run sub VI I designed.

My queries -

  1. Can you please tell which method in sub VI (Application manager or sequence context control) is a correct approach to run my project successfully? or else, if both these are incorrect then which method should I follow?
  2. Let me know, if you need me to explain my questions more clearly. I have attached all the necessary screenshots. please check them & help me with your suggestions so that I can make this project running.

VI's and its names in my project

  1. Main GUI - (VI name: Main_GUI_TeststandOI_GlobalVariable.vi)
  2. My upgraded Teststand Operator Interface - (VI name: Teststand operator Interface - newsubPropertyv2.vi)
  3. Sub VI inside Teststand operator Interface - (VI name: Sequence Context - newsubPropertyv2.vi)

 

Thanks & Regards! 

0 Kudos
Message 1 of 3
(753 Views)

Hi SiSp,

 

Sounds like more of a TestStand problem than a LabVIEW problem, you may have got more responses if you had posted on the TestStand board.

 

Is it that the Main GUI launches the TestStand OI or is it that the TestStand OI launches the Main GUI?  It would be beneficial for the TestStand OI to call the Main GUI as a SubVI so the strings returned are immediately available for use inside the TestStand OI.

 

How is the TestStand OI launching the default sequence?

 

Regards

 

Steve

 

 

0 Kudos
Message 2 of 3
(687 Views)

Hi SercoSteveB,

 

Thanks for replying. I will post this question on teststand board too.

  1. The Main GUI launches the Teststand OI. Because Teststand OI should only open after operator clicks on Build Transparency sequence button. This is the requirement.
  2. About launching default sequence, I am searching on how to do that part. I did not get any Idea what code I will have to write and where to put that code in Teststand OI.

 

 

Thanks & Regards,

Surabhi

0 Kudos
Message 3 of 3
(676 Views)