- Modify your existing TestStand sequence to accept the paths for “.ecfg”, “.xcal”, and “a2l” files and create sequence parameters within your TestStand sequence.
- Update any steps in your TestStand sequence that currently use hardcoded file paths to instead refer to these newly created Sequence Parameters.
- From MATLAB, you will need to create an object that represents the NI TestStand Engine. This is done by interacting with TestStand's COM Automation interface.
- Use the TestStand Engine object to programmatically load your specific TestStand sequence file “.seq”.
- Identify the particular sequence within the loaded file that you want to execute.
- Initiate a new execution instance for that sequence.
- Set the values of the TestStand Sequence Parameters on this execution instance using the paths you want to provide from MATLAB.
- Programmatically start the TestStand sequence execution.
- Once the TestStand execution completes, access its result status (e.g., "Passed," "Failed") and any other relevant data or reports generated by TestStand.
How to integrate or connect MATLAB with NI Test Stand Sequence?
29 ビュー (過去 30 日間)
古いコメントを表示
Hi,
Currently I'm working on NI test stand Sequence, I'm giving .ecfg , .xcal and a2l files as input to the test stand sequence and carrying out the test with the help of test stand sequence which is quite manual work. Now I want make this automated and give this files as input through matlab or Matlab GUI and call Test stand sequence through it for further process. So is it possible to integrate Matlab and NI Test stand sequence? Any kind of help or direction for this will be appreciated and thanks in advance.
0 件のコメント
回答 (1 件)
Prathamesh
2025 年 6 月 4 日
編集済み: Prathamesh
2025 年 7 月 29 日
I understand you're looking to automate your NI TestStand sequences using MATLAB or a MATLAB GUI. This automation would involve providing ".ecfg", ".xcal", and ".a2l" files as inputs to the TestStand sequence and then executing the tests.
You can try below steps to integrate NI TestStand with MATLAB:
Refer below MathWorks Documentation link for more info on COM Applications :
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!