Interaction causes
The customer feels that the TestStand interface is complex and wants a simple interface for sequence execution, and LabVIEW calls the TestStand engine for quick design and TestStand disassembly to LabVIEW.
However, the need to design a large number of callback functions, the development of time-consuming, the project time requirements are very strict, and investment is not much, it is hoped to have a rapid solution.
To do this, you want LabVIEW to act as an auxiliary software that can be configured and controlled for execution, simple data interaction, execution or TestStand
Solution Solutions
TestStand loading LabVIEW Interface to configure, perform Uut test, when the execution is finished, and then back to the LabVIEW interface, this article mainly summarizes the implementation of the key skills
1.LabVIWE How to embed the TestStand interface, which is the solution technology that requires a lot of development time.
Refer to the most authoritative document, the TestStand Help file
NI official website: teach you to create TestStand User Interface
2.Teststand interacting with LabVIEW UI
Refer to NI's official website: UI-based messages for two-way data transfer between TestStand and LabVIEW Oi
How to find and Access Application Manager in the sequence editor of the Teststand API schema Teststand
3. Other points of attention
The above articles can help you understand the basic labviwe and teststand interactions, but there are some points to note
such as: Testuut, how to eject the LabVIEW interface to configure, and then enter the formal measurement
TestStand uses object-oriented programming, similar to Factory mode, and is a series of sequences executed at the bottom of the test sequence.
Based on inheritance and overrides, TestStand can override the underlying sequence in the Uut test, and the following describes how to rewrite the underlying sequence.
First, it is necessary to explicitly uut the test execution, initialize and end, we simply rewrite the initialized sequence to increase the initialization operation.
, right-click MainSequence, select Sequence File callbacks
Select Preuut and add seq to rewrite the contents of the Uut
After the new sequence is added, the uut sequence can be added for subsequent writing, and when the sequence is executed, only one
such as: When testing the Uut, always pops up whether the next Uut test reminders, can pop up LabVIEW interface to replace the interface
, you can edit the preuut sequence, change the logic, and implement the custom pop-up LabVIEW dialog as a configuration option
From for notes (Wiz)
TestStand interacting with the LabVIEW UI