06-12-2018 10:56 AM
I am new with teststand and I need some help.
How can I configure teststand so that the test sequences run in the PXI instead of my computer.
06-13-2018 08:36 AM
Do you have a windows controller in your PXI ?
If yes, you have a nice example here : https://forums.ni.com/t5/Example-Programs/TestStand-Remote-Execution-Example/ta-p/3492800
06-14-2018 03:56 AM
Thank you for your valuable help CyGa
but in fact I have a phar Lap OS in my PXI (LabVIEW RT)
So is there any solution executing on this OS (I can't change the OS it's a requirement) ?
06-14-2018 09:00 AM
I guess you should contact NI support to have an accurate answer.
But I don't think you can actually run TS on an RT OS.
Usually when I come to do this, TS only gives orders (through TCP for example) to my RT code. RT code is then in charge to achieve the tasks in real-time and retrun an answer to TS (Through TCP again for example).
So TS will sequence the orders and wait for answers. The executer will be your RT code. Both are independant, and only link by a communication channel.
I hope it answers your questions.
06-18-2018 07:21 AM
Thank you very much for your answer.
But in fact, tests must run in the RT Target so that they are executed in the same conditions as the code modules.
And by adopting the way you have mentionned , I am going to make changes in the code(introducing a TCP connexion between TS and LabVIEW) and tests aren't meant to change code (they're external and we mustn't change our code to adapt it to the tests)
Thank you again for your help and time,if you have any others suggestions I will be happy to listen to them.
06-19-2018 12:38 PM
The only way I know to run test sequences ona RT target is to use VeriStand.
With Veristand you have the option of writing sequences and to run them with RT restrictions on the target itself.
Otherwise, I guess it will not work... I'm maybe wrong, and if so I'd love to hear about the solution !
06-19-2018 02:47 PM
Relevant to this discussion are the VeriStand Steps for TestStand, which isn't an official NI Product, but an open source project by NI Systems Engineers.